diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/devel/index.html | 6 | ||||
-rw-r--r-- | templates/packages/search.html | 17 |
2 files changed, 13 insertions, 10 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index 88794964..887e3a9a 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -34,7 +34,7 @@ <tr class="{% cycle pkgr2,pkgr1 %}"> <td><strong>{{ arch.name }}</strong></td> <td><a href="/packages/?arch={{ arch.name }}"><strong>{{ arch.packages.count }}</strong> packages</a></td> - <td><a href="/packages/?arch={{ arch.name }}&flagged_only=y"><strong>{{ arch.packages.flagged.count }}</strong> packages</a></td> + <td><a href="/packages/?arch={{ arch.name }}&flagged=Flagged"><strong>{{ arch.packages.flagged.count }}</strong> packages</a></td> </tr> {% endfor %} </table> @@ -52,7 +52,7 @@ <tr class="{% cycle pkgr2,pkgr1 %}"> <td><strong>{{ repo.name }}</strong></td> <td><a href="/packages/?repo={{ repo.name }}"><strong>{{ repo.packages.count }}</strong> packages</a></td> - <td><a href="/packages/?repo={{ repo.name }}&flagged_only=y"><strong>{{ repo.packages.flagged.count }}</strong> packages</a></td> + <td><a href="/packages/?repo={{ repo.name }}&flagged=Flagged"><strong>{{ repo.packages.flagged.count }}</strong> packages</a></td> </tr> {% endfor %} </table> @@ -71,7 +71,7 @@ <tr class="{% cycle pkgr2,pkgr1 %}"> <td><strong>{{ maint.get_full_name }}</strong></td> <td><a href="/packages/?maint={{ maint.id }}"><strong>{{ maint.maintained_packages.count }}</strong> packages</a></td> - <td><a href="/packages/?maint={{ maint.id }}&flagged_only=y"><strong>{{ maint.maintained_packages.flagged.count }}</strong> packages</a></td> + <td><a href="/packages/?maint={{ maint.id }}&flagged=Flagged"><strong>{{ maint.maintained_packages.flagged.count }}</strong> packages</a></td> </tr> {% endfor %} </table> diff --git a/templates/packages/search.html b/templates/packages/search.html index bf075584..a54a9a0f 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -18,6 +18,7 @@ <td><span class="smalltext">Keywords</span></td> <td><span class="smalltext">Maintainer</span></td> <td><span class="smalltext">Last Update</span></td> + <td><span class="smalltext">Flagged</span></td> <td><span class="smalltext">Per Page</span></td> </tr> <tr> @@ -26,6 +27,7 @@ {% td_input search_form.q %} {% td_input search_form.maintainer%} {% td_input search_form.last_update %} + {% td_input search_form.flagged %} {% td_input search_form.limit %} <td><input type="submit" value="Search" /> </tr> @@ -40,13 +42,14 @@ <tr> <form method="post" action="/packages/update/"> <th> </th> - <th>Arch</th> - <th>Repo</th> - <th>Name</th> + <th><a href="{% buildsortqs "arch" %}">Arch</a></th> + <th><a href="{% buildsortqs "repo" %}">Repo</a></th> + <th><a href="{% buildsortqs "pkgname" %}">Name</a></th> <th>Version</th> <th>Description</th> - <th>Maintainer</th> - <th>Last Updated</th> + <th><a href="{% buildsortqs "maintainer" %}">Maintainer</a></th> + <th><a href="{% buildsortqs "-last_update" %}">Last Updated</a></th> + </tr> {% for pkg in package_list %} <tr class="{% cycle pkgr2,pkgr1 %}"> @@ -84,8 +87,8 @@ <a href="/packages/search/{{page_obj.next_page_number}}/{{current_query}}"> Next >>> </a> - {% else %} >>> - Next + {% else %} + Next >>> {% endif %} </td> <br /> |