parent
4c0d1532e5
commit
a5d8476a55
|
@ -42,7 +42,7 @@ class OzwilloThemePlugin(plugins.SingletonPlugin):
|
|||
set_global('ckan.ozwillo_portal_url',
|
||||
pconfig.get('%s.ozwillo_portal_url' % __name__))
|
||||
|
||||
set_global('ckan.footer_links', footer_links())
|
||||
set_global('ckan.localized_links', footer_links())
|
||||
|
||||
toolkit.add_template_directory(config_, 'templates')
|
||||
toolkit.add_public_directory(config_, 'public')
|
||||
|
|
|
@ -17,25 +17,25 @@
|
|||
</div>
|
||||
<div class=" col-lg-2 col-md-2 col-sm-3 col-xs-4">
|
||||
<ul class="nav navbar-nav navbar-footer">
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['news'] }}">{% trans %}News{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['discovering'] }}">{% trans %}Discovering{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['co-construct'] }}">{% trans %}Co-construct{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['lets-go'] }}">{% trans %}Let's go{% endtrans %}</a></li></ul>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['news'] }}">{% trans %}News{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['discovering'] }}">{% trans %}Discovering{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['co-construct'] }}">{% trans %}Co-construct{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['lets-go'] }}">{% trans %}Let's go{% endtrans %}</a></li></ul>
|
||||
</div>
|
||||
<div class=" col-lg-2 col-md-2 col-sm-3 col-xs-4">
|
||||
<ul class="nav navbar-nav navbar-footer">
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['contact'] }}">{% trans %}Contact{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['project-team'] }}">{% trans %}Project team{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['projects'] }}">{% trans %}Projects{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['contact'] }}">{% trans %}Contact{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['project-team'] }}">{% trans %}Project team{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['projects'] }}">{% trans %}Projects{% endtrans %}</a></li>
|
||||
<li><a class="ext-twitter" href="https://twitter.com/ozwillo">@Ozwillo</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class=" col-lg-2 col-md-2 col-sm-3 col-xs-4">
|
||||
<ul class="nav navbar-nav navbar-footer">
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['user-guide'] }}">{% trans %}User guide{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['user-guide'] }}">{% trans %}User guide{% endtrans %}</a></li>
|
||||
<li><a href="http://doc.ozwillo.com/">{% trans %}Developers{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['legal-notices'] }}">{% trans %}Legal Notices{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.footer_links[current_lang]['general-terms-of-use'] }}">{% trans %}General terms of use{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['legal-notices'] }}">{% trans %}Legal Notices{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['general-terms-of-use'] }}">{% trans %}General terms of use{% endtrans %}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -46,14 +46,14 @@
|
|||
</li>
|
||||
<li class="item-112 deeper dropdown parent"><a class="dropdown-toggle" href="/en/oz/discover" data-toggle="dropdown">{% trans %}Discover{% endtrans %} <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/discover">{% trans %}Discovering the Platform{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/news">{% trans %}News{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/co-construct">{% trans %}Co-construct{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/let-s-go">{% trans %}Let's go{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}/{{current_lang}}/oz/projects">{% trans %}Projects{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['discovering'] }}">{% trans %}Discovering the Platform{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['news'] }}">{% trans %}News{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['co-construct'] }}">{% trans %}Co-construct{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['lets-go'] }}">{% trans %}Let's go{% endtrans %}</a></li>
|
||||
<li><a href="{{ g.ozwillo_url }}{{ g.localized_links[current_lang]['projects'] }}">{% trans %}Projects{% endtrans %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
|
|
Reference in New Issue