Add view for add-points/assurance
authorMichael Tänzer <neo@nhng.de>
Thu, 29 Apr 2010 18:42:37 +0000 (20:42 +0200)
committerMichael Tänzer <neo@nhng.de>
Thu, 29 Apr 2010 18:42:37 +0000 (20:42 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
manager/application/views/scripts/add-points/assurance.phtml [new file with mode: 0644]

diff --git a/manager/application/views/scripts/add-points/assurance.phtml b/manager/application/views/scripts/add-points/assurance.phtml
new file mode 100644 (file)
index 0000000..db45e0a
--- /dev/null
@@ -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>