summaryrefslogtreecommitdiff
path: root/templates/devel
diff options
context:
space:
mode:
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html47
-rw-r--r--templates/devel/siteindex.html1
2 files changed, 24 insertions, 24 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 661db3c0..f3c6d463 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -78,32 +78,31 @@
</div>
<br /><br />
- <div class="box">
- <h3 class="title">Package Maintenance</h3>
+ <div class="greybox">
+ <h3 class="title">My Flagged Packages</h3>
+ <form method="post" action="/devel/notify/">
+ <input name="notify" type="checkbox" value="yes"
+ {% if user.get_profile.notify %} checked="checked"{% endif %} />
+ Notify me when packages are flagged&nbsp;&nbsp;
+ <input type="submit" value="Update" />
+ </form>
<br />
- <table width="100%">
+ <table class="results" width="100%">
<tr>
- <td style="vertical-align: top">
- <br />
- <a
- href="http://wiki.archlinux.org/index.php/DeveloperWiki:HOWTO_Be_A_Packager">Package Maintainer's Guide</a><br />
- </td><td style="vertical-align: top">
- {% if pkgs %}
- <h4>My Flagged Packages:</h4>
- <ul class="small">
- <li><form method="post" action="/devel/notify/">
- <input name="notify" type="checkbox" value="yes"{% if maint.get_profile.notify %} checked{% endif %} /> Notify me when packages are flagged
- &nbsp; &nbsp;
- <input type="submit" value="Update" />
- </form></li>
- </ul>
- <ul class="small">
- {% for pkg in pkgs %}
- <li><a href="/packages/{{ pkg.id }}/">{{ pkg.repo.name }}::{{ pkg.pkgname }} &nbsp; &nbsp; {{ pkg.pkgver }} &nbsp; &nbsp; {{ pkg.arch.name }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
- </td>
+ <th style="width: 50%">Name</th>
+ <th>Repo</th>
+ <th>Version</th>
+ <th>Arch</th>
</tr>
+ {% for pkg in user.maintained_packages.flagged %}
+ <tr class="{% cycle pkgr2,pkgr1 %}">
+ <td>
+ <a href="/packages/{{ pkg.id }}/">{{ pkg.pkgname }}</a>
+ </td>
+ <td>{{ pkg.pkgver }}</td>
+ <td>{{ pkg.repo.name }}</td>
+ <td>{{ pkg.arch.name }}</td>
+ </tr>
+ {% endfor %}
</table>
{% endblock %}
diff --git a/templates/devel/siteindex.html b/templates/devel/siteindex.html
index 94ef405d..27a5b515 100644
--- a/templates/devel/siteindex.html
+++ b/templates/devel/siteindex.html
@@ -46,6 +46,7 @@
<li><a href="/packages/signoffs/">Signoffs</a></li>
<li><a href="/todo/">Todos</a></li>
<li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li>
+ <li><a href="http://wiki.archlinux.org/index.php/DeveloperWiki:HOWTO_Be_A_Packager">Package Maintainer's Guide</a></li>
<li><a href="/devel/profile/">Profile</a></li>
</ul>
<h3>Main Site Links:</h3>