summaryrefslogtreecommitdiff
path: root/manager/application/views/scripts/manage-account
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2010-06-28 17:30:31 +0200
committerMichael Tänzer <neo@nhng.de>2010-06-28 17:30:31 +0200
commit73761fe863463270a9ce13e9211791891cf17d02 (patch)
treee7bfedf99bdf4028f2a23525ad4a9f38ca1e80f4 /manager/application/views/scripts/manage-account
parenta1f716c45f882365e02a072b42a9ad05d34a39df (diff)
downloadcacert-mgr-73761fe863463270a9ce13e9211791891cf17d02.tar.gz
cacert-mgr-73761fe863463270a9ce13e9211791891cf17d02.tar.xz
cacert-mgr-73761fe863463270a9ce13e9211791891cf17d02.zip
Rename AddPoints to ManageAccount
The controller will contain all actions required to manage the test account Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'manager/application/views/scripts/manage-account')
-rw-r--r--manager/application/views/scripts/manage-account/assurance.phtml20
-rw-r--r--manager/application/views/scripts/manage-account/assuranceform.phtml14
2 files changed, 34 insertions, 0 deletions
diff --git a/manager/application/views/scripts/manage-account/assurance.phtml b/manager/application/views/scripts/manage-account/assurance.phtml
new file mode 100644
index 0000000..db45e0a
--- /dev/null
+++ b/manager/application/views/scripts/manage-account/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>
diff --git a/manager/application/views/scripts/manage-account/assuranceform.phtml b/manager/application/views/scripts/manage-account/assuranceform.phtml
new file mode 100644
index 0000000..b627b78
--- /dev/null
+++ b/manager/application/views/scripts/manage-account/assuranceform.phtml
@@ -0,0 +1,14 @@
+<?php
+/**
+ * @author Michael Tänzer
+ */
+?>
+
+<h1><?php print I18n::_('Add Assurance Points to your Account') ?></h1>
+
+<h2><?php print I18n::_('Get Points by Automated Assurance') ?></h2>
+<p><?php print I18n::_('Assign the points by doing an automated assurance '.
+ 'which looks just like a normal assurance done by a real person.') ?></p>
+<p><?php print I18n::_('If you enter more than 35 points they will be split '.
+ 'into multiple assurances. You can do zero point assurances.') ?></p>
+<?php print $this->assurance_form ?>