mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
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:
parent
eab9198f4c
commit
57d44a38bd
6 changed files with 11 additions and 4 deletions
|
|
@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
BIN
docs/_static/images/screen29_documents_page.png
vendored
BIN
docs/_static/images/screen29_documents_page.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 159 KiB |
BIN
docs/_static/images/screen30_documents_edit_page.png
vendored
BIN
docs/_static/images/screen30_documents_edit_page.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 163 KiB |
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
======================
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue