aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/display-sidebar-owner.htm9
-rw-r--r--data/templates/display.htm1
2 files changed, 10 insertions, 0 deletions
diff --git a/data/templates/display-sidebar-owner.htm b/data/templates/display-sidebar-owner.htm
new file mode 100644
index 0000000..f84a5fa
--- /dev/null
+++ b/data/templates/display-sidebar-owner.htm
@@ -0,0 +1,9 @@
+{% set owner = repo.getOwner %}
+<div class="well well-small vcard">
+ <img src="{{htmlhelper.getIconUrl(owner.email, 48)}}" alt="{{owner.name}}"
+ width="48" height="48" class="photo"
+ style="float: left; padding-right: 1ex;"/>
+ <span class="fn">{{owner.name}}</span>
+ <br/><span class="muted">owner</span>
+ <span class="clearfix"/>
+</div> \ No newline at end of file
diff --git a/data/templates/display.htm b/data/templates/display.htm
index 799f94d..6c75eaa 100644
--- a/data/templates/display.htm
+++ b/data/templates/display.htm
@@ -24,5 +24,6 @@
{% endblock %}
{% block sidebar %}
+ {% include 'display-sidebar-owner.htm' %}
{% include 'display-sidebar-history.htm' %}
{% endblock %}