Added side bar help to convert's file format list, recent document, document type and metadata set and type views
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from navigation.api import register_links, register_multi_item_links
|
||||
from navigation.api import register_links, register_multi_item_links, \
|
||||
register_sidebar_template
|
||||
from permissions.api import register_permission, set_namespace_title
|
||||
from documents.models import Document
|
||||
from metadata.models import MetadataType, MetadataSet
|
||||
@@ -63,3 +64,6 @@ register_links(['setup_metadata_set_delete', 'setup_metadata_set_edit', 'setup_m
|
||||
|
||||
metadata_type_setup_views = ['setup_metadata_type_list', 'setup_metadata_type_edit', 'setup_metadata_type_delete', 'setup_metadata_type_create']
|
||||
metadata_set_setup_views = ['setup_metadata_set_list', 'setup_metadata_set_edit', 'setup_metadata_set_delete', 'setup_metadata_set_create']
|
||||
|
||||
register_sidebar_template(['setup_metadata_type_list'], 'metadata_type_help.html')
|
||||
register_sidebar_template(['setup_metadata_set_list'], 'metadata_set_help.html')
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{% load i18n %}
|
||||
<div class="block notice">
|
||||
<h4>{% trans "What are metadata sets?" %}</h4>
|
||||
<p>{% blocktrans %}A metadata set is a group of one or more metadata types. Metadata sets are useful when creating new documents; selecing a metadata set automatically attaches it's member metadata types to said document.{% endblocktrans %}</p>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
{% load i18n %}
|
||||
<div class="block notice">
|
||||
<h4>{% trans "What are metadata types?" %}</h4>
|
||||
<p>{% blocktrans %}A metadata type defines the characteristics of a value of some kind that can be attached to a document. Examples of metadata types are: a client name, a date, or a project to which several documents belong. A metadata type's name is the internal identifier with which it can be referenced to by other modules such as the indexing module, the title is the value that is shown to the users, the default value is the value an instance of this metadata type will have initially, and the lookup value turns an instance of a metadata of this type into a choice list which options are the result of the lookup's code execution.{% endblocktrans %}</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user