aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-29 19:10:07 -0700
committerfriendica <info@friendica.com>2012-04-29 19:10:07 -0700
commit0153d86b7f4e2913b1eb985a905f7eb94822b589 (patch)
tree2f9cc629b8c7dadd3c728e6b33c7823ab09a2c01 /view
parente3fecb2557ad0ac2f156f9583683f7c9d998e212 (diff)
downloadvolse-hubzilla-0153d86b7f4e2913b1eb985a905f7eb94822b589.tar.gz
volse-hubzilla-0153d86b7f4e2913b1eb985a905f7eb94822b589.tar.bz2
volse-hubzilla-0153d86b7f4e2913b1eb985a905f7eb94822b589.zip
admin page to manage failed updates
Diffstat (limited to 'view')
-rw-r--r--view/admin_aside.tpl1
-rw-r--r--view/failed_updates.tpl17
2 files changed, 18 insertions, 0 deletions
diff --git a/view/admin_aside.tpl b/view/admin_aside.tpl
index a3c98e2ce..f25a1eb4b 100644
--- a/view/admin_aside.tpl
+++ b/view/admin_aside.tpl
@@ -16,6 +16,7 @@
<li class='admin link button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
<li class='admin link button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li>
<li class='admin link button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li>
+ <li class='admin link button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
</ul>
<ul class='admin linklist'>
diff --git a/view/failed_updates.tpl b/view/failed_updates.tpl
new file mode 100644
index 000000000..c6e4cb08e
--- /dev/null
+++ b/view/failed_updates.tpl
@@ -0,0 +1,17 @@
+<h2>$banner</h2>
+
+<div id="failed_updates_desc">$desc</div>
+
+{{ if $failed }}
+{{ for $failed as $f }}
+
+<h4>$f</h4>
+<ul>
+<li><a href="$base/admin/dbsync/mark/$f">$mark</a></li>
+<li><a href="$base/admin/dbsync/$f">$apply</a></li>
+</ul>
+
+<hr />
+{{ endfor }}
+{{ endif }}
+