## snippet for displaying issue tracker settings ## usage: ## <%namespace name="its" file="/base/issue_tracker_settings.html"/> ## ${its.issue_tracker_settings_table(patterns, form_url, delete_url)} ## ${its.issue_tracker_settings_test(test_url)} <%def name="issue_tracker_settings_table(patterns, form_url, delete_url)">
${_('Description')} | ${_('Pattern')} | ${_('Url')} | ${_('Prefix')} | |
---|---|---|---|---|
Example | ${'(?:#)(?P |
${'https://myissueserver.com/${repo}/issue/${issue_id}'} | # | ## TODO(skreft): add a link to the correct location of the Issue Tracker documentation.${_('Read more')} |
${entry.desc} ${h.text('new_pattern_description_'+uid, class_='medium-inline', value=entry.desc or '')} | ${entry.pat} ${h.text('new_pattern_pattern_'+uid, class_='medium-inline', value=entry.pat or '')} | ${entry.url} ${h.text('new_pattern_url_'+uid, class_='medium-inline', value=entry.url or '')} | ${entry.pref} ${h.text('new_pattern_prefix_'+uid, class_='medium-inline', value=entry.pref or '')} |
${_('Edit')}
${h.hidden('uid', uid)}
|
${_('Test Pattern Preview')}