{# Snippet Passed in: * data * errors * error_summary * action - 'new'/'edit' * c - deprecated! #} {% import "/_dgu_jinja_util.html" as m with context %} {% block secondary %}{% endblock %}
{% if error_summary %}
Napake v obrazcu
{{ _('The form contains invalid entries:') }}
    {% for key, error in error_summary.items() %}
  • {{"%s: %s" % (key, error)}}
  • {% endfor %}
{% endif %}
{{ h.prep_group_edit_data(data)}}
{% with %} {% set message = h.get_closed_publisher_message(data) %} {% if message %}
{{message|safe}}
{% endif %} {% endwith %}
Organizacije se na portalu OPSI polnijo iz podatkovne baze, ki se osvežuje na podlagi AJPES. V primeru, da tu popravite vnos obstoječe organizacije, se bo ta najverjetneje ob redni osvežitvi popravila nazaj na prejšnje vrednosti. Če kreirate novo organizacijo, pa morate za njeno ohranitev zagotoviti, da ima vsaj enega člana in/ali zbirko, saj bo v nasprotnem primeru ob osveževanju izbrisana.
Osnovne informacije
{% with %} {% set editable = not c.group or h.is_sysadmin()%}
{# CKAN.Dgu.UrlEditor javascript takes the value in .js-title and puts munged version into the URL field. #} {% if not editable %} {% endif %} {# it might seem weird that we display the name error, but blank title doesn't cause an error because CKAN just defaults it to the name. #} {{ m.display_error(errors, 'name', True) }}
{% endwith %}
{# NB URL (i.e. package.name) can be set fine for a new publisher, but changing it when the publisher already exists is problematic - see #525. It must be changed with a command like this: paster group update uk-hydrographic-office united-kingdom-hydrographic-office -c dgu.ini #} {{h.url_for('publisher_index')+'/'}} {% if action == 'edit' %}{% endif %}

Več kot 2 črki, majhne črke, le 'a-z0-9' in '-_'

 

{{ m.display_error(errors, 'name', True) }}
{{ m.display_error(errors, 'abbreviation', True) }}
{% with %} {% set editable = action=='edit' and h.check_access('organization_delete', {'id': c.group_dict.id}) %}
{% endwith %}
Dodatne informacije
{{ m.display_error(errors, 'category', True) }}
Kontaktni podatki
{# Users need to be submitted or they are removed from the publisher #} {# Extras need to be submitted or they are deleted #} {# Datasets don't need to be submitted because we set prevent_packages_update #}
{% if c.group %} {% endif %}