From 1c22bbc3f74f90a136b899c22bba327161c14763 Mon Sep 17 00:00:00 2001 From: Ismael Carnales Date: Sat, 31 Oct 2009 15:46:43 -0200 Subject: added missing packages views from archweb_pub --- templates/packages/flag.html | 31 +++++++++++++++++++++++++++++++ templates/packages/flagged.html | 7 +++++++ templates/packages/flaghelp.html | 16 ++++++++++++++++ templates/packages/outofdate.txt | 17 +++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 templates/packages/flag.html create mode 100644 templates/packages/flagged.html create mode 100644 templates/packages/flaghelp.html create mode 100644 templates/packages/outofdate.txt (limited to 'templates') 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 %} + + If you notice that one of Arch's packages is out of date (ie, there is a + newer stable release available), then please notify us using the + form below. +

+ 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. +

+ Note: Please do not use this facility if the package is + broken! Use the bug tracker instead. +
+

+

+ Please confirm your flag request for {{pkg.pkgname}}: +

+
+ + {{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 %} +

+ {{pkg.pkgname}} on {{pkg.arch}} has already been flagged out of date. +

+{% 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 @@ + +Flagging Packages + + +If you notice that one of Arch's packages is out of date (ie, there is a newer +stable release available), then please notify us by using the Flag +button in the Package Details screen. This will notify the maintainer +responsible for that package so they can update it. +

+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. +

+Note: Please do not use this facility if the package is broken! +Use the bugtracker instead. +
+ + 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 %} + -- cgit v1.2.3-54-g00ecf