From: "Slava Bacherikov" <slava@bacherikov.org.ua>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-packages:master commit in: gpackages/templates/
Date: Tue, 31 Jul 2012 23:20:55 +0000 (UTC) [thread overview]
Message-ID: <1343776330.cd616c2cf849622c5baf6c6695efb4ae615b2ac2.bacher09@gentoo> (raw)
commit: cd616c2cf849622c5baf6c6695efb4ae615b2ac2
Author: Slava Bacherikov <slava <AT> bacher09 <DOT> org>
AuthorDate: Tue Jul 31 23:12:10 2012 +0000
Commit: Slava Bacherikov <slava <AT> bacherikov <DOT> org <DOT> ua>
CommitDate: Tue Jul 31 23:12:10 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=cd616c2c
Minor changes in template
---
gpackages/templates/last_updated.html | 2 +-
gpackages/templates/package_object.html | 12 ++++++++++++
gpackages/templates/packages_use_flag.html | 2 +-
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/gpackages/templates/last_updated.html b/gpackages/templates/last_updated.html
index 83e9d44..9921f10 100644
--- a/gpackages/templates/last_updated.html
+++ b/gpackages/templates/last_updated.html
@@ -1 +1 @@
-{{ last_updated|date:"d M Y" }} <br /> {{ last_updated|date:"H:i:s" }}
+{{ last_updated|date:"d M Y" }} <br /> {{ last_updated|date:"H:i:s" }} ({{ last_updated|timesince }})
diff --git a/gpackages/templates/package_object.html b/gpackages/templates/package_object.html
index bf84e19..fa0d612 100644
--- a/gpackages/templates/package_object.html
+++ b/gpackages/templates/package_object.html
@@ -54,6 +54,18 @@
</td>
</tr>
{% endif %}
+ {% if package.doc %}
+ <tr>
+ <td>Doc</td>
+ <td><a href="{{ package.doc }}">{{ package.doc }}</a></td>
+ </tr>
+ {% endif %}
+ {% if package.changelog_url %}
+ <tr>
+ <td>Changelog url</td>
+ <td><a href="{{ package.changelog_url }}">{{ package.changelog_url }}</a></td>
+ </tr>
+ {% endif %}
</tbody>
</table>
</div>
diff --git a/gpackages/templates/packages_use_flag.html b/gpackages/templates/packages_use_flag.html
index 103e51a..18a40a2 100644
--- a/gpackages/templates/packages_use_flag.html
+++ b/gpackages/templates/packages_use_flag.html
@@ -13,7 +13,7 @@
<tbody>
{% for use_flag in use_flags %}
<tr>
- <td><a href="{% url 'packages' use=use_flag.name %}">{{ use_flag.name }}</a></td>
+ <td class="nowrap"><a href="{% url 'packages' use=use_flag.name %}">{{ use_flag.name }}</a></td>
<td>{{ use_flag.descr|urlize }}</td>
</tr>
{% endfor %}
next reply other threads:[~2012-07-31 23:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-31 23:20 Slava Bacherikov [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-08-20 22:40 [gentoo-commits] proj/gentoo-packages:master commit in: gpackages/templates/ Slava Bacherikov
2012-08-07 0:10 Slava Bacherikov
2012-08-02 22:44 Slava Bacherikov
2012-07-31 14:22 Slava Bacherikov
2012-07-12 22:16 Slava Bacherikov
2012-07-12 22:16 Slava Bacherikov
2012-07-12 22:16 Slava Bacherikov
2012-07-08 19:54 Slava Bacherikov
2012-07-06 23:09 Slava Bacherikov
2012-07-06 23:09 Slava Bacherikov
2012-06-30 21:02 Slava Bacherikov
2012-06-27 22:52 Slava Bacherikov
2012-06-27 22:52 Slava Bacherikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343776330.cd616c2cf849622c5baf6c6695efb4ae615b2ac2.bacher09@gentoo \
--to=slava@bacherikov.org.ua \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox