Created
June 16, 2016 10:28
-
-
Save amercader/ce218a4b9271cb6188f47162b5cf29c7 to your computer and use it in GitHub Desktop.
g occurrences in CKAN templates
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
ckan/ckan/templates/home/snippets/promoted.html | |
1:{% set intro = g.site_intro_text %} | |
ckan/ckan/templates/home/about.html | |
13: {% if g.site_about %} | |
ckan/ckan/templates/home/index.html | |
2:{% set homepage_style = ( g.homepage_style or '1' ) %} | |
ckan/ckan/templates/user/new_user_form.html | |
11: {% if g.recaptcha_publickey %} | |
ckan/ckan/templates/user/snippets/recaptcha.html | |
3: {% if g.recaptcha_version == '1' %} | |
11: {% elif g.recaptcha_version == '2' %} | |
ckan/ckan/templates/snippets/sort_by.html | |
18: {% if g.tracking_enabled %} | |
ckan/ckan/templates/organization/snippets/feeds.html | |
3:<link rel="alternate" type="application/atom+xml" title="{{ g.site_title }} - {{ _('Datasets in organization: {group}').format(group=c.group_dict.display_name) }}" href="{{ dataset_feed }}" /> | |
4:<link rel="alternate" type="application/atom+xml" title="{{ g.site_title }} - {{ _('Recent Revision History') }}" href="{{ history_feed }}" /> | |
ckan/ckan/templates/organization/read.html | |
23: (_('Popular'), 'views_recent desc') if g.tracking_enabled else (false, false) ] | |
ckan/ckan/templates/group/snippets/feeds.html | |
3:<link rel="alternate" type="application/atom+xml" title="{{ g.site_title }} - {{ _('Datasets in group: {group}').format(group=c.group_dict.display_name) }}" href="{{ dataset_feed }}" /> | |
4:<link rel="alternate" type="application/atom+xml" title="{{ g.site_title }} - {{ _('Recent Revision History') }}" href="{{ history_feed }}" /> | |
ckan/ckan/templates/group/read.html | |
19: (_('Popular'), 'views_recent desc') if g.tracking_enabled else (false, false) ] | |
ckan/ckan/templates/activity_streams/activity_stream_items.html | |
1:{% set has_more_length = g.activity_list_limit|int %} | |
ckan/ckan/templates/activity_streams/activity_stream_email_notifications.text | |
4:{{ g.site_url + '/dashboard' }} | |
8:{{ g.site_url + '/user/edit' }} | |
ckan/ckan/templates/package/resource_edit_base.html | |
25: {% if 'datapusher' in g.plugins %} | |
ckan/ckan/templates/package/resource_read.html | |
8: <meta property="og:title" content="{{ h.dataset_display_name(c.package) }} - {{ h.resource_display_name(res) }} - {{ g.site_title }}"> | |
48: {% if 'datastore' in g.plugins %} | |
ckan/ckan/templates/package/read_base.html | |
8: <meta property="og:title" content="{{ h.dataset_display_name(pkg) }} - {{ g.site_title }}"> | |
ckan/ckan/templates/package/search.html | |
33: (_('Popular'), 'views_recent desc') if g.tracking_enabled else (false, false) ] | |
54: {% if g.dumps_url -%} | |
55: {% set dump_link = h.link_to(_('full {format} dump').format(format=g.dumps_format), g.dumps_url) %} | |
ckan/ckan/templates/base.html | |
45: {%- if self.subtitle()|trim %} {{ g.template_title_deliminater }} {% endif -%} | |
46: {{ g.site_title }} | |
55: <link rel="shortcut icon" href="{{ g.favicon }}" /> | |
71: {% resource g.main_css[6:] %} | |
76: {{ g.template_head_end | safe }} | |
80: {%- if g.site_custom_css -%} | |
82: {{ g.site_custom_css | safe }} | |
115: {{ g.template_footer_end | safe }} | |
ckan/ckan/templates/footer.html | |
35: {% if g.debug %} | |
ckan/ckan/templates/page.html | |
134: {% if g.tracking_enabled %} | |
ckan/ckan/templates/header.html | |
70: {% if g.debug and not g.debug_supress_header %} | |
81: <hgroup class="{{ g.header_class }} pull-left"> | |
84: {% if g.site_logo %} | |
85: <a class="logo" href="{{ h.url_for('home') }}"><img src="{{ h.url_for_static_or_external(g.site_logo) }}" alt="{{ g.site_title }}" title="{{ g.site_title }}" /></a> | |
88: <a href="{{ h.url_for('home') }}">{{ g.site_title }}</a> | |
90: {% if g.site_description %}<h2>{{ g.site_description }}</h2>{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment