Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1126] Added config for sysadmin area
- Loading branch information
1 parent
3e7f690
commit 7910f78
Showing
2 changed files
with
24 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% ckan_extends %} | ||
|
||
{% import 'macros/form.html' as form %} | ||
|
||
{% block admin_form %} | ||
{{ super() }} | ||
{{ form.select('homepage_layout', label=_('Homepage'), options=[ | ||
{'value': 1, 'text': 'Introductory area, search, featured group and featured organization'}, | ||
{'value': 2, 'text': 'Search, featured dataset, stats and featured organization'} | ||
], selected=1, error=false) }} | ||
{% endblock %} | ||
|
||
{% block admin_form_help %} | ||
{{ super() }} | ||
{% trans %} | ||
<p><strong>Homepage:</strong> This is for choosing a predefined layout for | ||
the modules that appear on your homepage.</p> | ||
{% endtrans %} | ||
{% endblock %} |