summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/pages/packages')
-rw-r--r--python/templates/pages/packages/category/index.html6
-rw-r--r--python/templates/pages/packages/ebuilds/index.html3
2 files changed, 8 insertions, 1 deletions
diff --git a/python/templates/pages/packages/category/index.html b/python/templates/pages/packages/category/index.html
index 2f2b6f2..8cc402d 100644
--- a/python/templates/pages/packages/category/index.html
+++ b/python/templates/pages/packages/category/index.html
@@ -12,7 +12,11 @@
</td>
<td>
<p title="{{ PM.Descriptions }}">{{ PM.Descriptions }}</p>
- <p title="{% for P in PM.Ebuilds %}{{ PM.Package }}/{{ P }}{% endfor %}">Versions</p>
+ <p title="{% for P in PM.Ebuilds %}{{ PM.Package }}/{{ P }}{% endfor %}">Versions
+ {% if PM.Repoman %}
+ <a class="btn btn-warning btn-xs" href="/repoman/{{PM.PackageId }}/">Repoman</a>
+ {% endif %}
+ </p>
</td>
</tr>
</table>
diff --git a/python/templates/pages/packages/ebuilds/index.html b/python/templates/pages/packages/ebuilds/index.html
index f8e1b4e..10cca76 100644
--- a/python/templates/pages/packages/ebuilds/index.html
+++ b/python/templates/pages/packages/ebuilds/index.html
@@ -23,5 +23,8 @@
{% endfor %}
</table>
</div>
+ {% if PR %}
+ <a class="btn btn-warning btn-xs" href="/repoman/{{P.PackageId.PackageId }}/">Repoman</a>
+ {% endif %}
</div>
{% endblock %} \ No newline at end of file