Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
commit 6401b86fa4c732a8a6e9a899c4d1eb0c975f7609 Author: Bohuslav Kabrda bkabrda@redhat.com Date: Fri Dec 21 10:46:09 2012 +0100
Make results, packages and repos clickable
.../coprs/templates/coprs/_builds_table.html | 4 ++-- coprs_frontend/coprs/templates/coprs/detail.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/coprs_frontend/coprs/templates/coprs/_builds_table.html b/coprs_frontend/coprs/templates/coprs/_builds_table.html index 8b7082c..f6840d9 100644 --- a/coprs_frontend/coprs/templates/coprs/_builds_table.html +++ b/coprs_frontend/coprs/templates/coprs/_builds_table.html @@ -19,7 +19,7 @@ <td>{{ build.started_on|date_from_secs or 'Not yet' }}</td> <td>{{ build.ended_on|date_from_secs or 'Not yet' }}</td> <td>{{ build.state }}</td> - <td>{{ build.results }}</td> + <td>{% if build.results %}<a href={{ build.results }}>{% endif %}{{ build.results }}{% if build.results %}</a>{% endif %}</td> <td> {% if g.user and g.user == build.user %} {{ copr_build_cancel_form(build) }} @@ -34,7 +34,7 @@ <ul class=packages-list> {% if build.pkgs is not none %} {% for pkg in build.pkgs.split() %} - <li>{{ pkg }}</li> + <li><a href={{ pkg }}>{{ pkg }}</a></li> {% endfor %} {% endif %} </ul> diff --git a/coprs_frontend/coprs/templates/coprs/detail.html b/coprs_frontend/coprs/templates/coprs/detail.html index fb94430..9f54040 100644 --- a/coprs_frontend/coprs/templates/coprs/detail.html +++ b/coprs_frontend/coprs/templates/coprs/detail.html @@ -17,7 +17,7 @@ <h3>repos</h3> <ul class=repos-list> {% for repo in copr.repos_list %} - <li>{{ repo }}</li> + <li><a href="{{ repo }}">{{ repo }}</a></li> {% endfor %} </ul> {% endif %}
copr-devel@lists.stg.fedorahosted.org