##// END OF EJS Templates
fixed issue with adding new group. template typo fix for empty group
marcink -
r1363:923d2f69 beta
parent child Browse files
Show More
@@ -127,8 +127,9 b' def ValidReposGroup(edit, old_data):'
127 # slugify repo group just in case :)
127 # slugify repo group just in case :)
128 slug = repo_name_slug(group_name)
128 slug = repo_name_slug(group_name)
129
129
130 print old_data
130 # check for parent of self
131 # check for parent of self
131 if old_data['group_id'] == group_parent_id:
132 if edit and old_data['group_id'] == group_parent_id:
132 e_dict = {'group_parent_id':_('Cannot assign this group '
133 e_dict = {'group_parent_id':_('Cannot assign this group '
133 'as parent')}
134 'as parent')}
134 raise formencode.Invalid('', value, state,
135 raise formencode.Invalid('', value, state,
@@ -59,7 +59,7 b''
59
59
60 </table>
60 </table>
61 % else:
61 % else:
62 {_('There are no repositories groups yet')}
62 ${_('There are no repositories groups yet')}
63 % endif
63 % endif
64
64
65 </div>
65 </div>
General Comments 0
You need to be logged in to leave comments. Login now