summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 02:46:13 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 02:48:45 +0100
commit76ebbf0820e9c16628b62fd9f608d2d769bba3bc (patch)
treef53c6ce48ad62ae3ca05c9ede7b5ddf35ea80671 /templates
parentdacfc5fe13dc6b46fa90e5ef9fb07509afd5d777 (diff)
downloadpadlite-teams-76ebbf0820e9c16628b62fd9f608d2d769bba3bc.tar.gz
padlite-teams-76ebbf0820e9c16628b62fd9f608d2d769bba3bc.tar.bz2
padlite-teams-76ebbf0820e9c16628b62fd9f608d2d769bba3bc.zip
templates/group: add public group view
Diffstat (limited to 'templates')
-rw-r--r--templates/all.html2
-rw-r--r--templates/group.html3
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/all.html b/templates/all.html
index d50bf56..128c115 100644
--- a/templates/all.html
+++ b/templates/all.html
@@ -11,7 +11,7 @@
<div class="list-group">
{% for group in groups %}
- <span class="list-group-item">{{group}}</span>
+ <a class="list-group-item" href="{{ url_for('public_group', group_name=group.name) }}">{{group}}</a>
{% endfor %}
</div>
diff --git a/templates/group.html b/templates/group.html
index 9c53c90..4b2034f 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -18,6 +18,8 @@
</div>
</div>
+{% if not public_view %}
+
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Members</h3>
@@ -84,4 +86,5 @@
$('#collapseOperations').collapse('hide');
</script>
{% endif %}
+{% endif %}
{% endblock %}