summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorIsmael Carnales <icarnales@gmail.com>2009-10-31 15:46:43 -0200
committerIsmael Carnales <icarnales@gmail.com>2009-11-09 22:24:52 -0200
commit1c22bbc3f74f90a136b899c22bba327161c14763 (patch)
tree68ce5e80100ef7d103c1d2bb24a1937508995e7d /templates
parent522838d28153fc05d10fc7913babf477894aab79 (diff)
downloadarchweb-1c22bbc3f74f90a136b899c22bba327161c14763.tar.gz
archweb-1c22bbc3f74f90a136b899c22bba327161c14763.zip
added missing packages views from archweb_pub
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/flag.html31
-rw-r--r--templates/packages/flagged.html7
-rw-r--r--templates/packages/flaghelp.html16
-rw-r--r--templates/packages/outofdate.txt17
4 files changed, 71 insertions, 0 deletions
diff --git a/templates/packages/flag.html b/templates/packages/flag.html
new file mode 100644
index 00000000..ffcfcbb4
--- /dev/null
+++ b/templates/packages/flag.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
+{% block content %}
+ {% if confirmed %}
+ Thank you. Maintainers have been notified.
+ {% else %}
+ <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 using the
+ form below.
+ <br><br>
+ The message box portion of the flag utility is optional, and meant for short messages only. If you need more than 200 characters for your message, then file a bug report, email the maintainer directly, or send an email to the arch-general mailing list with your additional text.
+ <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'>bug tracker</a> instead.
+ </span>
+ <br /><br />
+ <p>
+ Please confirm your flag request for {{pkg.pkgname}}:
+ </p>
+ <form method="post" action=".">
+ <table>
+ {{form}}
+ </table>
+ <input type="submit" value=" Confirm " />
+ <br />
+ </form>
+ {% endif %}
+{% endblock %}
+
diff --git a/templates/packages/flagged.html b/templates/packages/flagged.html
new file mode 100644
index 00000000..738b633f
--- /dev/null
+++ b/templates/packages/flagged.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
+{% block content %}
+ <p>
+ {{pkg.pkgname}} on {{pkg.arch}} has already been flagged out of date.
+ </p>
+{% endblock %}
diff --git a/templates/packages/flaghelp.html b/templates/packages/flaghelp.html
new file mode 100644
index 00000000..aa03bf63
--- /dev/null
+++ b/templates/packages/flaghelp.html
@@ -0,0 +1,16 @@
+<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>
+The message box portion of the flag utility is optional, and meant for short messages only. If you need more than 200 characters for your message, then file a bug report, email the maintainer directly, or send an email to the arch-general mailing list with your additional text.
+<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
new file mode 100644
index 00000000..abe3a738
--- /dev/null
+++ b/templates/packages/outofdate.txt
@@ -0,0 +1,17 @@
+
+* Note: this is an automated message
+
+{{ email }} wants to notify you that the following package may be out
+of date:
+
+ Package Name: {{ pkg.pkgname }}
+ Architecture: {{ pkg.arch.name }}
+ Repository: {{ pkg.repo.name }}
+ ({{ weburl }})
+
+{% if message %}
+The user provided the following additional text:
+
+{{ message }}
+{% endif %}
+