Mercurial > kallithea
view rhodecode/templates/admin/repos/repo_edit_fields.html @ 4116:ffd45b185016 rhodecode-2.2.5-gpl
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
This imports changes between changesets 21af6c4eab3d and 6177597791c2 in
RhodeCode's original repository, including only changes to Python files and HTML.
RhodeCode clearly licensed its changes to these files under GPLv3
in their /LICENSE file, which states the following:
The Python code and integrated HTML are licensed under the GPLv3 license.
(See:
https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE
or
http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE
for an online copy of that LICENSE file)
Conservancy reviewed these changes and confirmed that they can be licensed as
a whole to the Kallithea project under GPLv3-only.
While some of the contents committed herein are clearly licensed
GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the
statement above from RhodeCode indicates that they intend GPLv3-only as their
license, per GPLv3ยง14 and other relevant sections of GPLv3.
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:03:13 -0400 |
parents | |
children |
line wrap: on
line source
%if c.visual.repository_fields: %if c.repo_fields: <div class="emails_wrap"> <table class="noborder"> <th>${_('Label')}</th> <th>${_('Key')}</th> <th>${_('Type')}</th> <th>${_('Action')}</th> %for field in c.repo_fields: <tr> <td>${field.field_label}</td> <td>${field.field_key}</td> <td>${field.field_type}</td> <td> ${h.form(url('delete_repo_fields', repo_name=c.repo_info.repo_name, field_id=field.repo_field_id),method='delete')} <i class="icon-remove-sign" style="color:#FF4444"></i> ${h.submit('remove_%s' % field.repo_field_id, _('delete'), id="remove_field_%s" % field.repo_field_id, class_="action_button", onclick="return confirm('"+_('Confirm to delete this field: %s') % field.field_key+"');")} ${h.end_form()} </td> </tr> %endfor </table> </div> %endif ${h.form(url('create_repo_fields', repo_name=c.repo_name),method='put')} <div class="form"> <!-- fields --> <div class="fields"> <div class="field"> <div class="label"> <label for="new_field_key">${_('New field key')}:</label> </div> <div class="input"> ${h.text('new_field_key', class_='small')} </div> </div> <div class="field"> <div class="label"> <label for="new_field_label">${_('New field label')}:</label> </div> <div class="input"> ${h.text('new_field_label', class_='small', placeholder=_('Enter short label'))} </div> </div> <div class="field"> <div class="label"> <label for="new_field_desc">${_('New field description')}:</label> </div> <div class="input"> ${h.text('new_field_desc', class_='small', placeholder=_('Enter description of a field'))} </div> </div> <div class="buttons"> ${h.submit('save',_('Add'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")} </div> </div> </div> ${h.end_form()} %else: <div style="font-size: 20px"> ${_('Extra fields are disabled')} </div> %endif