-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1504 from laws-africa/fix-help
Admin help topic context
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{% extends "admin/change_form.html" %} | ||
{% load i18n %} | ||
{% block extra_actions %} | ||
{% if PEACHJAM_SETTINGS.help_link and adminform.model_admin.help_topic %} | ||
{% if PEACHJAM_SETTINGS.editor_help_link and adminform.model_admin.help_topic %} | ||
<a target="_blank" | ||
href="{{ PEACHJAM_SETTINGS.help_link }}{{ adminform.model_admin.help_topic }}" | ||
href="{{ PEACHJAM_SETTINGS.editor_help_link }}{{ adminform.model_admin.help_topic }}" | ||
class="btn btn-block btn-info">{% trans 'Help' %}</a> | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters