summaryrefslogtreecommitdiff
path: root/manager
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2010-04-29 20:42:37 +0200
committerMichael Tänzer <neo@nhng.de>2010-04-29 20:42:37 +0200
commit4af9e0a9bb36fb187941f1a397e2548a0472317f (patch)
tree3ce19d38d63d65cea6a0d2f570cab9622271fe74 /manager
parent63afee5e1749aaf8b332362a5b96e898d335ec5f (diff)
downloadcacert-mgr-4af9e0a9bb36fb187941f1a397e2548a0472317f.tar.gz
cacert-mgr-4af9e0a9bb36fb187941f1a397e2548a0472317f.tar.xz
cacert-mgr-4af9e0a9bb36fb187941f1a397e2548a0472317f.zip
Add view for add-points/assurance
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'manager')
-rw-r--r--manager/application/views/scripts/add-points/assurance.phtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/manager/application/views/scripts/add-points/assurance.phtml b/manager/application/views/scripts/add-points/assurance.phtml
new file mode 100644
index 0000000..db45e0a
--- /dev/null
+++ b/manager/application/views/scripts/add-points/assurance.phtml
@@ -0,0 +1,20 @@
+<?php
+/**
+ * @author Michael Tänzer
+ */
+?>
+
+<h1><?php print I18n::_('Points added successfully')?></h1>
+
+<p><?php print I18n::_('The following assurances were added to your account:')?></p>
+
+<table>
+ <thead>
+ <tr><th>#</th><th><?php print I18n::_('Number of points')?></th></tr>
+ </thead>
+ <tbody>
+ <?php foreach ($this->assurancesDone as $i => $points) {
+ printf('<tr><td> %1$d </td><td> %2$d </td></tr>', $i, $points);
+ }?>
+ </tbody>
+</table>