+ {% with help_url='https://docs.bayanat.org/guide/dynamic-fields.html', help_title='Dynamic Fields' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/enferno/admin/templates/admin/incidents.html b/enferno/admin/templates/admin/incidents.html
index 047f61920..93ca9a855 100644
--- a/enferno/admin/templates/admin/incidents.html
+++ b/enferno/admin/templates/admin/incidents.html
@@ -85,6 +85,9 @@
+ {% with help_url='https://docs.bayanat.org/guide/incidents.html', help_title='Incidents' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{% if current_user.roles_in(['Admin','DA']) %}
{{ _('New Incident') }} "{{ _('Learn about {topic}') }}".replace("{topic}", topic),
support_ : "{{ _('Support') }}",
reportABug_ : "{{ _('Report a Bug') }}",
logout_ : "{{ _('Logout') }}",
@@ -76,6 +77,7 @@ clickRetryOCR_: "{{ _('Click retry to attempt OCR processing again') }}",
ocrProcessingFailed_: "{{ _('OCR Processing Failed') }}",
retryOCR_: "{{ _('Retry OCR') }}",
ocrStatus_: "{{ _('OCR Status') }}",
+ocrAndTextExtraction_: "{{ _('OCR & Text Extraction') }}",
thisMediaHasBeenMarkedAsUnreadableByAReviewer_: "{{ _('This media has been marked as unreadable by a reviewer') }}",
thisMediaWasManuallyTranscribedByAReviewer_: "{{ _('This media was manually transcribed by a reviewer') }}",
thisMediaHasBeenReviewedAndAccepted_: "{{ _('This media has been reviewed and accepted') }}",
@@ -380,6 +382,7 @@ documentationDate_: "{{ _('Documentation Date') }}",
sourceLink_: "{{ _('Source Link') }}",
comments_ : "{{ _('Comments') }}",
logHistory_: "{{ _('Log History') }}",
+revisionHistory_: "{{ _('Revision History') }}",
// actors
fullName_: "{{ _('Full Name') }}",
@@ -842,4 +845,3 @@ translations['whisperModels'] = [
{"en": "{{ model['model_label'] }}", "tr": "{{ _(model['model_label']) }}"},
{% endfor %}
];
-
diff --git a/enferno/admin/templates/admin/labels.html b/enferno/admin/templates/admin/labels.html
index 7677ac08c..135c6cc99 100644
--- a/enferno/admin/templates/admin/labels.html
+++ b/enferno/admin/templates/admin/labels.html
@@ -27,6 +27,9 @@
+ {% with help_url='https://docs.bayanat.org/guide/labels.html', help_title='Labels' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
diff --git a/enferno/admin/templates/admin/locations.html b/enferno/admin/templates/admin/locations.html
index c357a4f62..519ddd23e 100644
--- a/enferno/admin/templates/admin/locations.html
+++ b/enferno/admin/templates/admin/locations.html
@@ -43,6 +43,9 @@
+ {% with help_url='https://docs.bayanat.org/guide/locations.html', help_title='Locations' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
+ {% with help_url='https://docs.bayanat.org/guide/ocr.html', help_title='OCR & Text Extraction' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
@@ -551,4 +554,4 @@
window.app = app;
});
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/enferno/admin/templates/admin/partials/actor_dialog.html b/enferno/admin/templates/admin/partials/actor_dialog.html
index b550aed39..ea6047d4c 100644
--- a/enferno/admin/templates/admin/partials/actor_dialog.html
+++ b/enferno/admin/templates/admin/partials/actor_dialog.html
@@ -18,7 +18,10 @@
-
+ {% with help_url='https://docs.bayanat.org/guide/actors.html', help_title='Actors' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
+
{{ _('Save Actor') }}
diff --git a/enferno/admin/templates/admin/partials/bulletin_dialog.html b/enferno/admin/templates/admin/partials/bulletin_dialog.html
index 5fe840ae9..5ff934edd 100644
--- a/enferno/admin/templates/admin/partials/bulletin_dialog.html
+++ b/enferno/admin/templates/admin/partials/bulletin_dialog.html
@@ -60,6 +60,9 @@
+ {% with help_url='https://docs.bayanat.org/guide/bulletins.html', help_title='Bulletins' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{{ _('Save Bulletin') }}
diff --git a/enferno/admin/templates/admin/partials/contextual_help_fab.html b/enferno/admin/templates/admin/partials/contextual_help_fab.html
new file mode 100644
index 000000000..307142fc2
--- /dev/null
+++ b/enferno/admin/templates/admin/partials/contextual_help_fab.html
@@ -0,0 +1,20 @@
+{% if help_url %}
+
+
+
+
+ {% if help_title %}
+ {{ _('Learn about') }} {{ _(help_title) }}
+ {% else %}
+ {{ _('User Guides') }}
+ {% endif %}
+
+{% endif %}
diff --git a/enferno/admin/templates/admin/partials/incident_dialog.html b/enferno/admin/templates/admin/partials/incident_dialog.html
index bb5f11bed..96f29e310 100644
--- a/enferno/admin/templates/admin/partials/incident_dialog.html
+++ b/enferno/admin/templates/admin/partials/incident_dialog.html
@@ -8,6 +8,9 @@
${formTitle} ${editedItem.id}
+ {% with help_url='https://docs.bayanat.org/guide/incidents.html', help_title='Incidents' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{{ _('Save Incident') }}
diff --git a/enferno/admin/templates/admin/partials/media_dialog.html b/enferno/admin/templates/admin/partials/media_dialog.html
index dfc7bdccf..56d0c4447 100644
--- a/enferno/admin/templates/admin/partials/media_dialog.html
+++ b/enferno/admin/templates/admin/partials/media_dialog.html
@@ -49,6 +49,9 @@
+ {% with help_url='https://docs.bayanat.org/guide/media.html', help_title='Media' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{{ _('Attach Media') }}
diff --git a/enferno/admin/templates/admin/roles.html b/enferno/admin/templates/admin/roles.html
index 4e23a476f..89516893e 100644
--- a/enferno/admin/templates/admin/roles.html
+++ b/enferno/admin/templates/admin/roles.html
@@ -24,6 +24,9 @@
{{ _('User Groups') }}
+ {% with help_url='https://docs.bayanat.org/guide/permissions.html', help_title='Permissions' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/enferno/admin/templates/admin/sources.html b/enferno/admin/templates/admin/sources.html
index 967eda329..a7ccc1480 100644
--- a/enferno/admin/templates/admin/sources.html
+++ b/enferno/admin/templates/admin/sources.html
@@ -37,6 +37,9 @@
>
+ {% with help_url='https://docs.bayanat.org/guide/sources.html', help_title='Sources' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{{ _('Enable Mail System') }}
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/enferno/admin/templates/admin/users.html b/enferno/admin/templates/admin/users.html
index 6029d656c..6dc460650 100644
--- a/enferno/admin/templates/admin/users.html
+++ b/enferno/admin/templates/admin/users.html
@@ -23,6 +23,9 @@
{{ _('System Users') }}
+ {% with help_url='https://docs.bayanat.org/guide/access-control.html', help_title='Access Control' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{{ _('Force Global Password Reset') }}
diff --git a/enferno/data_import/templates/import-log.html b/enferno/data_import/templates/import-log.html
index e92f1023a..7edf45960 100644
--- a/enferno/data_import/templates/import-log.html
+++ b/enferno/data_import/templates/import-log.html
@@ -31,6 +31,9 @@
{{ _('Import Log') }}
+ {% with help_url='https://docs.bayanat.org/guide/data-import.html', help_title='Data Import' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
diff --git a/enferno/data_import/templates/media-import.html b/enferno/data_import/templates/media-import.html
index ccded6dc3..7ff4cbbfc 100644
--- a/enferno/data_import/templates/media-import.html
+++ b/enferno/data_import/templates/media-import.html
@@ -97,6 +97,9 @@
+ {% with help_url='https://docs.bayanat.org/guide/data-import.html', help_title='Data Import' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{{ _('Sample Data') }}
+ {% with help_url='https://docs.bayanat.org/guide/data-import.html', help_title='Data Import' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{{ _('Delete') }}
+ {% with help_url='https://docs.bayanat.org/guide/deduplication.html', help_title='Video Deduplication' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
mdi-play
diff --git a/enferno/export/templates/export-dashboard.html b/enferno/export/templates/export-dashboard.html
index e58e7fee5..d3012d4af 100644
--- a/enferno/export/templates/export-dashboard.html
+++ b/enferno/export/templates/export-dashboard.html
@@ -29,6 +29,9 @@
{{ _('Exports') }}
+ {% with help_url='https://docs.bayanat.org/guide/data-export.html', help_title='Data Export' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
diff --git a/enferno/static/js/components/ActorCard.js b/enferno/static/js/components/ActorCard.js
index f0f820eba..d5f458fe9 100644
--- a/enferno/static/js/components/ActorCard.js
+++ b/enferno/static/js/components/ActorCard.js
@@ -514,6 +514,23 @@ const ActorCard = Vue.defineComponent({
mdi-history
+
+
+
+ mdi-help-circle-outline
+
+
+ {{ translations.learnAbout_(translations.revisionHistory_) }}
+
diff --git a/enferno/static/js/components/BulletinCard.js b/enferno/static/js/components/BulletinCard.js
index 6ed1e3f54..ffabe67c4 100644
--- a/enferno/static/js/components/BulletinCard.js
+++ b/enferno/static/js/components/BulletinCard.js
@@ -430,6 +430,21 @@ const BulletinCard = Vue.defineComponent({
{{ translations.logHistory_ }}
+
+
+
+
+ {{ translations.learnAbout_(translations.revisionHistory_) }}
+
diff --git a/enferno/static/js/components/IncidentCard.js b/enferno/static/js/components/IncidentCard.js
index f74c69e94..20ce87329 100644
--- a/enferno/static/js/components/IncidentCard.js
+++ b/enferno/static/js/components/IncidentCard.js
@@ -310,6 +310,23 @@ const IncidentCard = Vue.defineComponent({
mdi-history
+
+
+
+ mdi-help-circle-outline
+
+
+ {{ translations.learnAbout_(translations.revisionHistory_) }}
+
diff --git a/enferno/static/js/components/LocationCard.js b/enferno/static/js/components/LocationCard.js
index e5927a2a9..30101de9f 100644
--- a/enferno/static/js/components/LocationCard.js
+++ b/enferno/static/js/components/LocationCard.js
@@ -152,6 +152,21 @@ const LocationCard = Vue.defineComponent({
+
+
+
+
+ {{ translations.learnAbout_(translations.revisionHistory_) }}
+
diff --git a/enferno/static/js/components/MediaTranscriptionDialog.js b/enferno/static/js/components/MediaTranscriptionDialog.js
index 4e2351045..0f41a4fda 100644
--- a/enferno/static/js/components/MediaTranscriptionDialog.js
+++ b/enferno/static/js/components/MediaTranscriptionDialog.js
@@ -276,6 +276,19 @@ const MediaTranscriptionDialog = Vue.defineComponent({
{{ translations.transcriptionReview_ }}
+
+
+
+
+ {{ translations.learnAbout_(translations.ocrAndTextExtraction_) }}
+
diff --git a/enferno/templates/dashboard.html b/enferno/templates/dashboard.html
index ce161ff2e..dce5c3036 100644
--- a/enferno/templates/dashboard.html
+++ b/enferno/templates/dashboard.html
@@ -8,8 +8,10 @@
{{ _('Welcome') }}, {{ g.user.username }}!
-
+ {% with help_url='https://docs.bayanat.org/guide/workflow.html', help_title='Workflow' %}
+ {% include 'admin/partials/contextual_help_fab.html' %}
+ {% endwith %}
{% include "security/_messages.html" %}
@@ -168,4 +170,4 @@
window.app = app;
});
-{% endblock %}
\ No newline at end of file
+{% endblock %}