Issue #56, Remove sidebar help templates and navigation function to register them

This commit is contained in:
Roberto Rosario
2014-10-08 10:11:04 -04:00
parent 5a237ce258
commit ad7ae3dcfa
15 changed files with 29 additions and 97 deletions
-3
View File
@@ -127,9 +127,6 @@ register_top_menu(
position=1
)
register_sidebar_template(['documents:document_list_recent'], 'recent_document_list_help.html')
register_sidebar_template(['documents:document_type_list'], 'document_types_help.html')
register_links(Document, [document_view_simple], menu_name='form_header', position=0)
register_links(Document, [document_view_advanced], menu_name='form_header', position=1)
register_links(Document, [document_history_view], menu_name='form_header')
@@ -1,5 +0,0 @@
{% load i18n %}
<div class="block notice">
<h4>{% trans "What are document types?" %}</h4>
<p>{% blocktrans %}Document types define a class that represents a broard group of documents, such as: invoices, regulations or manuals. The advantage of using document types are: assigning a list of typical filenames for quick renaming during creation, as well as assigning default metadata types and sets to it.{% endblocktrans %}</p>
</div>
@@ -1,5 +0,0 @@
{% load i18n %}
<div class="block notice">
<h4>{% trans "What are recent documents?" %}</h4>
<p>{% blocktrans %}Here you will find the latest {{ recent_count }} documents you have either created or edited in any way.{% endblocktrans %}</p>
</div>