Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Merge branch '671-support-link'
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Jul 20, 2016
2 parents 498f8f4 + 277fc73 commit b52b412
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 142 deletions.
4 changes: 3 additions & 1 deletion census/views/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
{% if site.settings.tutorial_page %}
<li><a href="/tutorial/">{{gettext("Tutorial")}}</a></li>
{% endif %}
{% if discussionForum %}
{% if site.settings.support_url %}
<li><a target="_blank" href="{{ site.settings.support_url }}">{{ gettext("Support") }}</a></li>
{% elif discussionForum %}
<li><a target="_blank" href="{{ discussionForum }}">{{ gettext("Support") }}</a></li>
{% endif %}
</ul>
Expand Down
3 changes: 2 additions & 1 deletion fixtures/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ var objects = [
reviewers: ['email1@example.com', 'email3@example.com'],
'custom_footer': '<span style="display: none;">Custom footer</span>',
'custom_css': '/* Custom CSS rules */',
'navbar_logo': '<span style="display: none;">Custom navbar logo</span>'
'navbar_logo': '<span style="display: none;">Custom navbar logo</span>',
'support_url': 'https://discuss.okfn.org/c/open-data-index/australia-index'
}
}
},
Expand Down
Loading

0 comments on commit b52b412

Please sign in to comment.