diff options
author | jelle van der Waa <jelle@archlinux.org> | 2019-10-13 12:47:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 12:47:41 +0200 |
commit | 81bb12f6ebf7871253f07a6cb59da07be9da2f6d (patch) | |
tree | c1444fb4770cb329f52cfd977a4f791f6d601092 | |
parent | 767feb127d8ecd635bd13e035617bc38dc2ffa28 (diff) | |
parent | 10ff1df6efde498cd745a42f3da8d91b306b5d86 (diff) | |
download | archweb-81bb12f6ebf7871253f07a6cb59da07be9da2f6d.tar.gz archweb-81bb12f6ebf7871253f07a6cb59da07be9da2f6d.zip |
Merge pull request #246 from jelly/reports_cleanup
Reports cleanup
-rw-r--r-- | templates/devel/index.html | 2 | ||||
-rw-r--r-- | templates/devel/packages.html | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index cba57210..5adec682 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -140,7 +140,7 @@ title="View todo list: {{ todo.name }}">{{ todo.name }}</a></td> <td>{{ todo.created|date }}</td> <td>{{ todo.creator.get_full_name }}</td> - <td class="wrap">{{ todo.description|urlize }}</td> + <td class="wrap">{{ todo.description|urlize|truncatewords:"50" }}</td> <td>{{ todo.pkg_count }}</td> <td>{{ todo.incomplete_count }}</td> </tr> diff --git a/templates/devel/packages.html b/templates/devel/packages.html index 762fc6f0..33bc4428 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -41,7 +41,6 @@ <th>Repo</th> <th>Name</th> <th>Version</th> - <th>Description</th> <th>Last Updated</th> <th>Build Date</th> <th>Flag Date</th> @@ -52,7 +51,7 @@ </thead> <tbody> {% for pkg in packages %} - <tr class="{% cycle 'pkgr2' 'pkgr1' %} {{ pkg.arch.name }} {{ pkg.repo.name|lower }}"> + <tr> <td>{{ pkg.arch.name }}</td> <td>{{ pkg.repo.name|capfirst }}</td> <td>{% pkg_details_link pkg %}</td> @@ -61,7 +60,6 @@ {% else %} <td>{{ pkg.full_version }}</td> {% endif %} - <td class="wrap">{{ pkg.pkgdesc }}</td> <td>{{ pkg.last_update|date }}</td> <td>{{ pkg.build_date|date }}</td> <td>{{ pkg.flag_date|date }}</td> |