## -*- coding: utf-8 -*- ## Copyright 2010, Intevation GmbH, Germany, ## ## This file is part of FGSK. ## ## FGSK is free software: you can redistribute it and/or modify it under ## the terms of the GNU General Public License as published by the ## Free Software Foundation, either version 2 of the License, or (at your ## option) any later version. ## ## FGSK is distributed in the hope that it will be useful, but WITHOUT ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public ## License for more details. ## ## You should have received a copy of the GNU General Public ## License along with FGSK. If not, see . ## ## FGSK has been developed on behalf of the ## Landesamt fuer Umwelt und Geologie Mecklenburg Vorpommern (LUNG-MV) ## by Intevation GmbH. ## biota Institut fuer oekologische Forschung und Planung GmbH has provided ## the functional background. ## ## Authors: ## Tim Englich ## Ingo Weinzierl <%def name="controls(previous, itself, next, resume=False)">
<% linkDisabled = not session.has_key('kid') or not session['kid']%> % if c.disabled == 'disabled': ${h.end_form()} % if resume:
${h.button_to(name=u'Weitere Kartierabschnitte erfassen', url=h.url_for(controller='eingang', action='resume'))}
% endif % if next and next is not '':
${h.button_to(name='weiter', url=h.url_for(controller=next, action='index'), disabled=linkDisabled)}
% endif % if itself and itself is not '':
${h.button_to(name='editieren', url=h.url_for(controller=itself, action='edit'))}
% endif % if previous and previous is not '':
${h.button_to(name=u'zurück', url=h.url_for(controller=previous, action='index'))}
% endif % else:
${h.submit(name='save', value='speichern')} ${h.end_form()}
${h.button_to(name=u'abbrechen', url=h.url_for(controller=itself, action='index'))}
% endif
<%def name="navigation_bar(active)"> <% pages = [ [u'kartierabschnitt', u'Kartierabschnitt'], [u'laufentwicklung', u'Laufentwicklung'], [u'laengsprofil', u'Längsprofil'], [u'querprofil', u'Querprofil'], [u'sohlenstruktur', u'Sohlenstruktur'], [u'uferstruktur', u'Uferstruktur'], [u'gewaesserumfeld', u'Gewässerumfeld'], [u'ergebnisse',u'Ergebnisse'] ] %> <% linkDisabled = not session.has_key('kid') or not session['kid']%> % for page in pages: % if active.lower() == page[0].lower(): % else: % if not c.disabled: % if not linkDisabled: % else: % endif % else: % endif % endif % endfor <%def name="errors()">
% if c.form_errors:
Fehler % for error in c.form_errors.keys(): % endfor
${c.error_labels[error]}:
% endif
Fließgewässerstrukturgütekartierung Mecklenburg-Vorpommern, ${self.title()}

${self.title()}

${self.errors()} ${self.body()}