Support adding custom menu entries to side-nav

Hi everyone,

at the moment, we added some code like

    {% if LANGUAGE_CODE != 'de' %}
        <h3 class="hd">Documentation</h3>
        <ul class="side-tabnav-tabs">
            <li class="tab">
                <a href="{{ SITE_ROOT }}help/" target="_blank"><span aria-hidden="true" class="sf2-icon-wiki"></span>{% trans "Help" %}</a>
            <li class="tab">
                <a href="" target="_blank"><span aria-hidden="true" class="sf2-icon-file"></span>Legal notice</a>
            <li class="tab">
                <a href="" target="_blank"><span aria-hidden="true" class="sf2-icon-security"></span>Privacy statement</a>
     {% else %}

to templates/js/templates.html to add some entries to the menu on the left side (side-nav):

Thinking that this might also be interesting for other users, we’d like to ask to have that configurable.
Either in or via an included template snippet from seahub-data/custom/.

My proposal for the first variant would be:

    {'de': 'Dokumentation', 'default': 'Documentation'},
        ('', 'file',
            {'de': 'Impressum', 'default': 'Legal notice'}),

So maybe simply dropping a template file would be quite easier. :wink:

Best wishes,