Admin documents listing - rename 'uploaded' to 'created

Other changes

- documents listing template - clean up white space

Documentation changes (editors manual)

- update images
- remove popular tags mention as this is no longer applicable
- add references to 'collection'

Resolves #2827
This commit is contained in:
LB 2019-10-20 14:56:21 +10:00 committed by LB Johnston
parent eab9198f4c
commit 57d44a38bd
6 changed files with 11 additions and 4 deletions

View file

@ -6,6 +6,7 @@ Changelog
* Removed leftover Python 2.x compatibility code (Sergey Fedoseev)
* Combine flake8 configurations (Sergey Fedoseev)
* Fix: Rename documents listing column 'uploaded' to 'created' (LB (Ben Johnston))
2.7 LTS (xx.xx.xxxx) - IN DEVELOPMENT
~~~~~~~~~~~~~~~~~~~~

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 163 KiB

View file

@ -7,12 +7,13 @@ Documents such as PDFs can be managed from the Documents interface, available in
* Add documents by clicking the *Add document* button in the top-right.
* Search for documents in the CMS by entering your search term in the search bar. The results will be automatically updated as you type.
* You can also filter the results by *Popular tags*. Click on a tag to update the search results listing.
* You can also filter the results by *Collection* by selecting one from the collections dropdown above the documents list.
* Edit the details of a document by clicking the document title.
.. image:: ../../_static/images/screen30_documents_edit_page.png
* When editing a document you can replace the file associated with that document record. This means you can update documents without having to update the pages on which they are placed. Changing the file will change it on all pages that use the document.
* Change the document's collection using the collection dropdown.
* Add or remove tags using the Tags field.
* Save or delete documents using the buttons at the bottom of the interface.

View file

@ -22,6 +22,7 @@ Bug fixes
* Removed leftover Python 2.x compatibility code (Sergey Fedoseev)
* Combine flake8 configurations (Sergey Fedoseev)
* Rename documents listing column 'uploaded' to 'created' (LB (Ben Johnston))
Upgrade considerations
======================

View file

@ -24,10 +24,10 @@
<th>
{% if not is_searching %}
<a href="{% url 'wagtaildocs:index' %}{% if not ordering == "-created_at" %}?ordering=-created_at{% endif %}" class="icon icon-arrow-down-after {% if ordering == "-created_at" %}teal{% endif %}">
{% trans "Uploaded" %}
{% trans "Created" %}
</a>
{% else %}
{% trans "Uploaded" %}
{% trans "Created" %}
{% endif %}
</th>
</tr>
@ -46,7 +46,11 @@
{% if collections %}
<td>{{ doc.collection.name }}</td>
{% endif %}
<td><div class="human-readable-date" title="{{ doc.created_at|date:"d M Y H:i" }}">{% blocktrans with time_period=doc.created_at|timesince %}{{ time_period }} ago{% endblocktrans %}</div></td>
<td>
<div class="human-readable-date" title="{{ doc.created_at|date:"d M Y H:i" }}">
{% blocktrans with time_period=doc.created_at|timesince %}{{ time_period }} ago{% endblocktrans %}
</div>
</td>
</tr>
{% endfor %}
</tbody>