diff options
-rw-r--r-- | media/archweb.css | 2 | ||||
-rw-r--r-- | templates/packages/files-list.html | 6 | ||||
-rw-r--r-- | templates/packages/files.html | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/media/archweb.css b/media/archweb.css index a1e23a56..d45ea10b 100644 --- a/media/archweb.css +++ b/media/archweb.css @@ -212,6 +212,8 @@ form#flag-pkg-form textarea, form#flag-pkg-form input[type=text] { width: 45%; } #pkgdetails #metadata h3 { background: #555; color: #fff; font-size: 1em; margin-bottom: 0.5em; padding: 0.2em 0.35em; } #pkgdetails #metadata ul { list-style: none; margin: 0; padding: 0; } #pkgdetails #metadata li { padding-left: 0.5em; } +#pkgdetails #metadata p { padding-left: 0.5em; } +#pkgdetails #metadata .message { font-style: italic; } #pkgdetails #metadata br { clear: both; } #pkgdetails #pkgdeps { float: left; width: 48%; margin-right: 2%; } #pkgdetails #pkgreqs { float: left; width: 50%; } diff --git a/templates/packages/files-list.html b/templates/packages/files-list.html index c45e0f10..1c9ea635 100644 --- a/templates/packages/files-list.html +++ b/templates/packages/files-list.html @@ -1,3 +1,7 @@ +{% if pkg.last_update > pkg.files_last_update %} +<p class="message">Note: This file list was generated from a previous version +of the package; it may be out of date.</p> +{% endif %} {% if files.count %} <ul> {% for file in files %} @@ -5,5 +9,5 @@ {% endfor %} </ul> {% else %} -<p>No file list available.</p> +<p class="message">No file list available.</p> {% endif %} diff --git a/templates/packages/files.html b/templates/packages/files.html index ebdfb9cf..5e0ceb07 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -6,9 +6,8 @@ <div id="pkgdetails" class="box"> <h2>Package File List: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2> - <p><a href="{{ pkg.get_absolute_url }}">Back to Package</a></p> - <div id="metadata"> + <p><a href="{{ pkg.get_absolute_url }}">Back to Package</a></p> {% include "packages/files-list.html" %} </div> |