#2165 Make tags in issue list clickable
Merged 7 years ago by mbasti. Opened 7 years ago by mbasti.
mbasti/pagure clickable-tags  into  master

file modified
+8 -2
@@ -218,9 +218,15 @@ 

              </span>

                {% endif %}

                {% for tag in issue.tags %}

-                 <span class="label label-info"

+                 <a class="label label-info"

+                    href="{{ url_for('view_issues',

+                          repo=repo.name,

+                          username=username,

+                          namespace=repo.namespace,

+                          tags=tag.tag,

+                          status=status or 'all') }}"

                    style="background-color:{{tag.tag_color}}"

-                   title="{{ tag.tag_description or '' }}">{{tag.tag}}</span>

+                   title="{{ tag.tag_description or '' }}">{{tag.tag}}</a>

                {% endfor%}

              </td>

              <td class="td-open_date nowrap">

By clicking on a tag, only issues with the particular tag will be shown.
Asignee, author and other filters than issue state are removed.

rebased

7 years ago

Works for me, I'm going to merge it manually to save you the rebase

Commit b17c616 fixes this pull-request

Pull-Request has been merged by mbasti@redhat.com

7 years ago

Commit 56454ea3 fixes this pull-request

Pull-Request has been merged by mbasti@redhat.com

7 years ago

This is weird ^^. Pagure shows that I merged pull-request, but obviously I don't have permissions for that.

That's because I made your commit merge the PR (when I manually merge it), so it gave you the attribution :)