Merge branch 'versions/next' into feature/quick_label

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-14 00:57:41 -04:00
21 changed files with 673 additions and 1629 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ icon_dashboard_document_types = Icon(
driver_name='fontawesome', symbol='book'
)
icon_dashboard_documents_in_trash = Icon(
driver_name='fontawesome', symbol='book'
driver_name='fontawesome', symbol='trash'
)
icon_dashboard_pages_per_month = Icon(
driver_name='fontawesome', symbol='trash'
driver_name='fontawesome', symbol='copy'
)
icon_dashboard_new_documents_this_month = Icon(
driver_name='fontawesome', symbol='calendar'
+1 -1
View File
@@ -152,7 +152,7 @@ link_document_multiple_document_type_edit = Link(
view='documents:document_multiple_document_type_edit'
)
link_document_multiple_download = Link(
text=_('Download'), view='documents:document_multiple_download_form'
text=_('Advanced download'), view='documents:document_multiple_download_form'
)
link_document_multiple_update_page_count = Link(
text=_('Recalculate page count'),
+1 -1
View File
@@ -32,7 +32,7 @@ setting_display_width = namespace.add_setting(
global_name='DOCUMENTS_DISPLAY_WIDTH', default='3600'
)
settings_document_page_image_cache_time = namespace.add_setting(
global_name='DOCUMENTS_PAGE_IMAGE_CACHE_TIME', default='3600'
global_name='DOCUMENTS_PAGE_IMAGE_CACHE_TIME', default='31556926'
)
setting_documentimagecache_storage = namespace.add_setting(
global_name='DOCUMENTS_CACHE_STORAGE_BACKEND',
@@ -1,7 +1,7 @@
{% load documents_tags %}
{% extends 'appearance/base_plain.html' %}
{% load documents_tags %}
{% block title %}{{ title }}{% endblock title %}
{% block content_plain %}
@@ -1,16 +1,16 @@
{% load documents_tags %}
<div class="instance-image-widget {{ container_class }}">
<div class="spinner-container text-primary"
style="height: {% if display_full_height %}100%{% else %}{{ display_height|default:150 }}px{% endif %};"
<span class="instance-image-widget {{ container_class }}">
<span class="spinner-container text-primary"
style="height: {% if display_full_height %}100%{% else %}{{ display_height|default:150 }}px{% endif %}; display: block;"
>
<i class="far fa-clock fa-2x"></i>
</div>
</span>
<img
class="thin_border {{ image_classes }}"
data-url="{% get_api_image_url instance width=image_width height=image_height zoom=image_zoom rotation=image_rotation %}"
src="#"
style="{% if image_max_height %}max-height: {{ image_max_height }}; {% endif %}"
/>
</div>
</span>