Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit dfd129f122a6705cfed1fcaf36e8998a3d4c086e
Author: Bohuslav Kabrda <bkabrda(a)redhat.com>
Date: Tue Jan 22 09:33:36 2013 +0100
User image is now href pointing to his owned coprs
---------------------------------------------------------------
coprs_frontend/coprs/templates/coprs/show.html | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/coprs_frontend/coprs/templates/coprs/show.html
b/coprs_frontend/coprs/templates/coprs/show.html
index 9a72d5d..08490af 100644
--- a/coprs_frontend/coprs/templates/coprs/show.html
+++ b/coprs_frontend/coprs/templates/coprs/show.html
@@ -5,7 +5,9 @@
{% block body %}
{% if g.user %}
<div class="user-info">
- <img src="{{ url_for('static', filename='default_user.png')
}}" alt="User Image">
+ <a href="{{ url_for('coprs_ns.coprs_by_owner', username=g.user.name)
}}" title="My Coprs">
+ <img src="{{ url_for('static', filename='default_user.png')
}}" alt="User Image">
+ </a>
<p>{{ g.user.name }}</p>
<p class="coprs-count">{{ g.user.coprs_count }}</p>
<p class="other-text">coprs</p>