Merge branch 'bankerweiterung_und_skonto'
[kivitendo-erp.git] / templates / webpages / dbupgrade / warning.html
index f54c687..0294879 100644 (file)
@@ -1,12 +1,12 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [%- USE LxERP %]
-<form name="Form" method="post" action="login.pl">
+<form name="Form" method="post" action="controller.pl">
 
- <input type="hidden" name="action" value="login">
+ <input type="hidden" name="action" value="LoginScreen/login">
  <p><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
  <p class="message_hint">
-  [% LxERP.t8('Lx-Office is about to update the database [ #1 ].', dbname) | html %]
+  [% LxERP.t8('kivitendo is about to update the database [ #1 ].', dbname) | html %]
  </p>
  <p>
   [% 'You should create a backup of the database before proceeding because the backup might not be reversible.' | $T8 %]
 
  <input type="submit" name="dummy" value="[% 'Continue' | $T8 %]">
 </form>
+
+<p id="nodetails">
+ <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Toggle details') %]</a>
+</p>
+
+<div id="details" style="display: none;">
+ <p>
+  <a href="#" onclick="$('#details,#nodetails').toggle();">[% LxERP.t8('Toggle details') %]</a>
+ </p>
+
+ <p>
+  [% LxERP.t8("List of database upgrades to be applied:") %]
+ </p>
+
+ <ul>
+  [% FOREACH upgrade_script = unapplied_scripts %]
+   <li>[% HTML.escape(upgrade_script.tag) %]: [% HTML.escape(upgrade_script.description) %]</li>
+  [% END %]
+ </ul>
+</div>