summaryrefslogtreecommitdiffstats
path: root/templates/group.html
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 02:47:21 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 02:48:49 +0100
commit900985df8179810bfa4efbf79bef6075e04b4d21 (patch)
treeb29fade2cfe1d36e9832a6e9cdf2a77eff81042c /templates/group.html
parent76ebbf0820e9c16628b62fd9f608d2d769bba3bc (diff)
downloadpadlite-teams-900985df8179810bfa4efbf79bef6075e04b4d21.tar.gz
padlite-teams-900985df8179810bfa4efbf79bef6075e04b4d21.tar.bz2
padlite-teams-900985df8179810bfa4efbf79bef6075e04b4d21.zip
templates/group: add "request membership" to public group view
Diffstat (limited to 'templates/group.html')
-rw-r--r--templates/group.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/group.html b/templates/group.html
index 4b2034f..bc08e4d 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -86,5 +86,22 @@
$('#collapseOperations').collapse('hide');
</script>
{% endif %}
+{% else %}{# if public_view #}
+
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Request membership</h3>
+ </div>
+
+ <div class="panel-body">
+ <form class="form-horizontal" role="form" method="POST">
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-8">
+ <button type="submit" class="btn btn-block btn-default">Request membership</button>
+ </div>
+ </div>
+ </form>
+ </div>
+</div>
{% endif %}
{% endblock %}