diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 429: Neil Williams 2013-09-13 Provide a link from each of the app pages in the

Message ID 20130916104228.19605.29239.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Neil Williams Sept. 16, 2013, 10:42 a.m. UTC
Merge authors:
  Neil Williams (codehelp)
Related merge proposals:
  https://code.launchpad.net/~codehelp/lava-server/admin-panel-links/+merge/185455
  proposed by: Neil Williams (codehelp)
  review: Approve - Matthew Hart (matthew-hart)
------------------------------------------------------------
revno: 429 [merge]
committer: Neil Williams <neil.williams@linaro.org>
branch nick: lava-server
timestamp: Mon 2013-09-16 11:36:31 +0100
message:
  Neil Williams 2013-09-13 Provide a link from each of the app pages in the
   admin interface back to standard LAVA pages.
added:
  lava_server/templates/admin/
  lava_server/templates/admin/app_index.html


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== added directory 'lava_server/templates/admin'
=== added file 'lava_server/templates/admin/app_index.html'
--- lava_server/templates/admin/app_index.html	1970-01-01 00:00:00 +0000
+++ lava_server/templates/admin/app_index.html	2013-09-13 10:11:33 +0000
@@ -0,0 +1,23 @@ 
+{% extends "admin/index.html" %}
+
+{% load i18n %}
+{% load url from future %}
+
+{% if not is_popup %}
+{% block breadcrumbs %}
+<div class="breadcrumbs">
+[ <a href="/../">LAVA home</a> ] [ <a href="/../scheduler/">LAVA scheduler</a> ]
+[ <a href="/../dashboard/">LAVA dashboard</a> ] [ <a href="/../static/docs/">LAVA Documentation</a> ]
+<hr/>
+<a href="{% url 'admin:index' %}">{% trans 'Admin Home' %}</a>
+&rsaquo;
+{% for app in app_list %}
+{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
+{% endfor %}
+</div>
+{% endblock %}
+{% endif %}
+
+{% block sidebar %}{% endblock %}
+
+