Commit f9b52eec5cd0decb886f87007a3d0a9826265a3a
When we add a repo, we have some variables that are not filled
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-01-05 20:07
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-01-05 20:07
Parent(s): 657c8c4be46ae950d519320d1d54aa2f65a577d6
Signing key:
Tree: aceb039e8d092305c1056aae141d36b152bf5938
File inc/repo.inc.php changed (mode: 100644) (index c656ed9..35f844a) |
... |
... |
function rg_repo_cosmetic($db, &$row) |
802 |
802 |
} |
} |
803 |
803 |
$row['clone_of'] = $master_repo; |
$row['clone_of'] = $master_repo; |
804 |
804 |
|
|
805 |
|
$row['creation'] = gmdate("Y-m-d", $row['itime']); |
|
806 |
|
$row['disk_used'] = rg_1024($row['disk_used_mb'] * 1024 * 1024); |
|
|
805 |
|
if (isset($row['disk_used_mb'])) |
|
806 |
|
$row['disk_used'] = rg_1024($row['disk_used_mb'] * 1024 * 1024); |
807 |
807 |
} |
} |
808 |
808 |
|
|
809 |
809 |
/* |
/* |
File root/themes/default/repo/list/line.html changed (mode: 100644) (index fcdd4f2..2a70ad5) |
2 |
2 |
<td><a href="@@url_user@@">@@owner@@</a> / <a href="@@url_repo@@">@@name@@</a> (#@@repo_id@@)</td> |
<td><a href="@@url_user@@">@@owner@@</a> / <a href="@@url_repo@@">@@name@@</a> (#@@repo_id@@)</td> |
3 |
3 |
<td><small>@@description_nlbr@@</small></td> |
<td><small>@@description_nlbr@@</small></td> |
4 |
4 |
<td>@@clone_of@@</td> |
<td>@@clone_of@@</td> |
5 |
|
<td>@@creation@@</td> |
|
|
5 |
|
<td>@@itime_nice@@</td> |
6 |
6 |
<td>@@if(@@public@@ == 1){{Public}}{{Private}}</td> |
<td>@@if(@@public@@ == 1){{Public}}{{Private}}</td> |
7 |
7 |
<td>@@if("@@license@@" == ""){{Unspecified}}{{@@license@@}}</td> |
<td>@@if("@@license@@" == ""){{Unspecified}}{{@@license@@}}</td> |
8 |
8 |
<td>@@disk_used@@</td> |
<td>@@disk_used@@</td> |