Move groups templates to accounts/ app.
[xnet] / xnet / accounts / templates / accounts / home.html
diff --git a/xnet/accounts/templates/accounts/home.html b/xnet/accounts/templates/accounts/home.html
new file mode 100644 (file)
index 0000000..dacc3dc
--- /dev/null
@@ -0,0 +1,16 @@
+{% extends "accounts/base.html" %}
+
+{% block content %}
+<div class="group-desc">
+    <h1>{{ group.name }}</h1>
+    {% if group.logo %}<img class="pull-right" src="{{ group.logo.url_70x70 }}" />{% endif %}
+    <div class="pull-left">
+        {% if group.web %}
+            <p><span>Web</span> : <a href="{{ group.web }}">{{ group.web }}</a></p>
+        {% endif %}
+        {% if group.description %}
+            <p class="pull-left">{{ group.description }}</p>
+        {% endif %}
+    </div>
+</div>
+{% endblock %}