summaryrefslogtreecommitdiffstats
path: root/templates/packages
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-29 03:08:54 +0200
committereliott <eliott@cactuswax.net>2008-04-29 03:08:54 +0200
commit889d15406cb989d35b39560751f1d8373a11a5c0 (patch)
treeb104a27cca8a691b5dbbdf56599dfbee6cebec49 /templates/packages
parent7e62d7f4ba9def136962e0d1cae57b2d49b19b54 (diff)
downloadarchweb-889d15406cb989d35b39560751f1d8373a11a5c0.tar.gz
archweb-889d15406cb989d35b39560751f1d8373a11a5c0.tar.xz
removed flag out of date from backend.
Flagging a package out of date is not needed in the backend. Backend only needs to unflag.
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/details.html7
-rw-r--r--templates/packages/flag.html26
-rw-r--r--templates/packages/flaghelp.html14
-rw-r--r--templates/packages/outofdate.txt13
4 files changed, 2 insertions, 58 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 6631558..c3b214e 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -9,15 +9,12 @@
<ul class="small">
<li><a href="http://repos.archlinux.org/viewvc.cgi/{{ pkg.pkgname }}/repos/{{ pkg.repo.name|lower }}-{{ pkg.arch.name|lower }}/">View SVN Entries</a></li>
<!-- <li><a href="/packages/files/{{ pkg.id }}/">View File List</a></li> -->
- <li>
{% if pkg.needupdate %}
+ <li>
<span style="font-size:x-small"><em>This package has been flagged out-of-date</em></span>
<br />&nbsp; &nbsp; <a href="/packages/unflag/{{ pkg.id }}/">Click here to unflag</a>
- {% else %}
- <a href="/packages/flag/{{ pkg.id }}/" onclick="return !window.open('/packages/flag/{{ pkg.id }}/','FlagHelp','height=250,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');">Flag Package Out-of-Date</a>
- <a href="/packages/flaghelp" onclick="return !window.open('/packages/flaghelp','FlagHelp','height=250,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');"><span style="font-size:x-small">(?)</span></a>
- {% endif %}
</li>
+ {% endif %}
<li>&nbsp;</li>
<li>
<form name="devaction" method="post" action="/packages/update/">
diff --git a/templates/packages/flag.html b/templates/packages/flag.html
deleted file mode 100644
index 215b6fa..0000000
--- a/templates/packages/flag.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{% load validation %}
-<html>
-<head><title>Flagging Packages</title></head>
-<body>
-{% if errors %}
- {% print_errors errors %}
-{% endif %}
-<span style="font-family: verdana, arial, helvetica">
-{% if confirmemail %}
- Thank you. Maintainers have been notified.
-{% else %}
-<form method="post" action=".">
- Please confirm your flag request.<br />
- <br />
- Email Address: (required) <br />
- <input type="text" name="confirmemail" size="40" maxlength="128" /><br />
- <br />
- Message to dev: (optional)<br />
- <textarea name="usermessage" rows="3" cols="40"></textarea><br />
- <input type="submit" value=" Confirm " />
-</form>
-{% endif %}
-</span>
-</body>
-</html>
-
diff --git a/templates/packages/flaghelp.html b/templates/packages/flaghelp.html
deleted file mode 100644
index 09f7530..0000000
--- a/templates/packages/flaghelp.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<html>
-<head><title>Flagging Packages</title></head>
-<body>
-<span style="font-family: verdana, arial, helvetica">
-If you notice that one of Arch's packages is out of date (ie, there is a newer
-<b>stable</b> release available), then please notify us by using the <b>Flag</b>
-button in the <i>Package Details</i> screen. This will notify the maintainer
-responsible for that package so they can update it.
-<br><br>
-<b>Note:</b> Please do <i>not</i> use this facility if the package is broken!
-Use the <a target="_blank" href='http://bugs.archlinux.org'>bugtracker</a> instead.
-</span>
-</body>
-</html>
diff --git a/templates/packages/outofdate.txt b/templates/packages/outofdate.txt
deleted file mode 100644
index 7b86360..0000000
--- a/templates/packages/outofdate.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-
-* Note: this is an automated message
-
-{{ email }} wants to notify you that the following package may be out
-of date:
-
- {{ pkgname }} ({{ weburl }})
-{% if message %}
-The user provided the following additional text:
-
-{{ message }}
-{% endif %}
-