summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html
diff options
context:
space:
mode:
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html31
1 files changed, 12 insertions, 19 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html
index 1eeadbf..3cf5c35 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/file.html
@@ -44,7 +44,18 @@
<!-- left top panel -->
{% block meta_content %}
- <h2 class="subheader">{% trans title %}</h2>
+
+ <a href="{% url app_gst.name|lower group_name_tag %}">
+ <h2 class="subheader">
+ {% if app_gst.altnames and app_gst.altnames != "None" %}
+ {{app_gst.altnames}}
+ {% else %}
+ {{app_gst.name}}
+ {% endif%}
+ </h2>
+ {{app_gst.content|default_if_none:""|safe}}
+ </a>
+
{% endblock %}
@@ -53,18 +64,6 @@
<div class="panel" style="background-color:#ddd;">
- <!-- radio buttons for E-Library app: CR and XCR -->
- {% comment %}
- <!--
- {% if title == "E-Library" %}
- <input type="radio" name="crxcr" value="cr" id="cr-rad" title="Curricular">
- <label for="cr-rad" title="Curricular">CR</label>
- <input type="radio" name="crxcr" value="xcr" id="xcr-rad" title="Extra Curricular">
- <label for="xcr-rad" title="Extra Curricular">XCR</label>
- {% endif %}
- -->
- {% endcomment %}
-
<ul class="side-nav">
<dl class="tabs" data-tab >
@@ -191,15 +190,9 @@
{% if user_is_joined == "joined" or user_is_joined == "author" %}
<b>{% trans "Actions" %}</b><br/><br/>
- {% user_access_policy groupid request.user as user_access %}
- {% if user_access == "allow" %}
-
<a href="{% url 'uploadDoc' group_name_tag %}?next={{request.path}}" class="tiny round button">
{% trans "Upload File" %}
</a><br/><br/>
-
- {% endif %}
-
<b>{% trans "Review" %}</b><br/><br/>