From 873662fe815c678f35ec1518d9fc013c993ae710 Mon Sep 17 00:00:00 2001 From: "Johan \"Papa\" Cwiklinski" Date: Sun, 30 May 2010 11:26:48 +0200 Subject: Use of smarty to render rpm page ; apply coding standards, add license ; refs #46,48,47 --- smarty/templates/rpmphp/rpm.tpl | 86 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 smarty/templates/rpmphp/rpm.tpl (limited to 'smarty') diff --git a/smarty/templates/rpmphp/rpm.tpl b/smarty/templates/rpmphp/rpm.tpl new file mode 100644 index 0000000..ffabb4f --- /dev/null +++ b/smarty/templates/rpmphp/rpm.tpl @@ -0,0 +1,86 @@ +

Repositories last updated {$repositories_update}.

+
+
+
+ Filter {$type|upper} packages + + + + +
+
+
+ + + + + + + + +{foreach from=$repos key=k item=v} + +{/foreach} + + + + + + + + +{foreach from=$packages item=p name=plist} + + + + + {foreach from=$p.versions key=k item=version} + + {$version.display} + + {/foreach} + +{/foreach} + +
PackageOwner(s)Upstream{$k}
{$packages|@count} packages found
+ {$p.name} + {if $p.channel} +
channel: {$p.channel} + {/if} +
+ {foreach from=$p.owners item=owner name=ow_it} + {$owner} + {if not $smarty.foreach.ow_it.last} +
+ {/if} + {/foreach} +
+ {if $p.upstream_stable} + {$p.upstream_stable} + {/if} + {if $p.upstream_unstable} +
{$p.upstream_unstable} + {/if} +
+ + -- cgit