git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
homeview and platformsview now use layout-unfold1 or layout-unfold2 depending on...
[myslice.git]
/
portal
/
templates
/
platforms.html
diff --git
a/portal/templates/platforms.html
b/portal/templates/platforms.html
index
2234066
..
ee86241
100644
(file)
--- a/
portal/templates/platforms.html
+++ b/
portal/templates/platforms.html
@@
-1,10
+1,15
@@
-{% extends "layout-unfold1.html" %}
+{# fine for either layout-unfold1.html (logged in) or layout-unfold2.html (needs a login prompt) #}
+{% extends layout_1_or_2 %}
+
+{% block unfold_margin %}
+{% include 'widget-login.html' %}
+{% endblock unfold_margin %}
{% block head %}
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/dashboard.css" />
{% endblock %}
{% block head %}
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/dashboard.css" />
{% endblock %}
-{% block unfold
1
_main %}
+{% block unfold_main %}
<h1>Platforms</h1>
{{platforms}}
<h1>Platforms</h1>
{{platforms}}