aboutsummaryrefslogtreecommitdiff
path: root/r7r_repo/templates/src
diff options
context:
space:
mode:
Diffstat (limited to 'r7r_repo/templates/src')
-rw-r--r--r7r_repo/templates/src/package_list.html (renamed from r7r_repo/templates/src/home.html)9
1 files changed, 5 insertions, 4 deletions
diff --git a/r7r_repo/templates/src/home.html b/r7r_repo/templates/src/package_list.html
index 56a4a6a..e610860 100644
--- a/r7r_repo/templates/src/home.html
+++ b/r7r_repo/templates/src/package_list.html
@@ -3,7 +3,8 @@
<ste:default_error />
<ste:default_success />
- <h2>Latest Packages</h2>
+ <h2><ste:escape>$list_heading</ste:escape></h2>
+
<table class="listtab fullwidth">
<thead>
<tr>
@@ -16,10 +17,10 @@
</thead>
<tbody>
<ste:if>
- <ste:set var="pkgs_n"><ste:arraylen array="latest_pkgs" /></ste:set>
+ <ste:set var="pkgs_n"><ste:arraylen array="pkgs" /></ste:set>
~{$pkgs_n|gt|0}
<ste:then>
- <ste:foreach array="latest_pkgs" value="pkg">
+ <ste:foreach array="pkgs" value="pkg">
<tr>
<td><a href="$rel_path_to_root/p/<ste:escape>$pkg[name]</ste:escape>"><ste:escape>$pkg[name]</ste:escape></a></td>
<td><ste:escape>$pkg[version]</ste:escape></td>
@@ -31,7 +32,7 @@
</ste:then>
<ste:else>
<tr>
- <td style="text-align: center; font-style: italic;" colspan="5">No Packages available.</td>
+ <td style="text-align: center; font-style: italic;" colspan="5">No Packages found.</td>
</tr>
</ste:else>
</ste:if>