From: Loic Baron Date: Tue, 16 Jun 2015 17:12:32 +0000 (+0200) Subject: Slice sections became generic X-Git-Tag: myslice-1.5~6 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=1dac953fee805add1425e375b1ea93208e523179 Slice sections became generic --- diff --git a/portal/templates/_widget-slice-sections.html b/portal/templates/_widget-slice-sections.html index 0856bd89..63902e4f 100644 --- a/portal/templates/_widget-slice-sections.html +++ b/portal/templates/_widget-slice-sections.html @@ -1,25 +1,39 @@ +
+
+
+ +
+
+
+
+
+
{% if section == "resources" %} {% else %} + {% endif %} +
+
+
diff --git a/portal/templates/fed4fire/fed4fire_slice-view.html b/portal/templates/fed4fire/fed4fire_slice-view.html index 29c93e08..3823f9e1 100644 --- a/portal/templates/fed4fire/fed4fire_slice-view.html +++ b/portal/templates/fed4fire/fed4fire_slice-view.html @@ -1,12 +1,12 @@ {% extends "layout_wide.html" %} +{% load portal_filters %} {% block head %} {% endblock %} +{% widget "_widget-slice-sections.html" %} {% block content %} -{% include theme|add:"_widget-slice-sections.html" %} -
...
diff --git a/portal/templates/onelab/onelab_slice-view.html b/portal/templates/onelab/onelab_slice-view.html deleted file mode 100644 index 294de8bc..00000000 --- a/portal/templates/onelab/onelab_slice-view.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "layout_wide.html" %} - -{% block head %} - -{% endblock %} - -{% block content %} -{% include theme|add:"_widget-slice-sections.html" %} -
-
-
-
-
- -
-
- -
-{% endblock %} diff --git a/portal/templates/onelab/onelab_widget-slice-sections.html b/portal/templates/onelab/onelab_widget-slice-sections.html deleted file mode 100644 index 44b5d632..00000000 --- a/portal/templates/onelab/onelab_widget-slice-sections.html +++ /dev/null @@ -1,58 +0,0 @@ -
-
-
- -
-
-
-
-
-
-{% if section == "resources" %} - -{% else %} - - - -{% endif %} -
-
-
diff --git a/portal/templates/slice-view.html b/portal/templates/slice-view.html index 5902d164..9a7a6ec0 100644 --- a/portal/templates/slice-view.html +++ b/portal/templates/slice-view.html @@ -1,19 +1,21 @@ {% extends "layout_wide.html" %} +{% load portal_filters %} {% block head %} {% endblock %} {% block content %} -{% include theme|add:"_widget-slice-sections.html" %} -
- +{% widget "_widget-slice-sections.html" %} +
+ +
{% endblock %}