Mercurial > hg > soundsoftware-site
changeset 201:61d8fba252fd feature_72
external repository check box.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 07 Feb 2011 16:04:42 +0000 |
parents | 90cc857e968a |
children | 11661511fc20 |
files | app/views/projects/settings/_repository.rhtml app/views/users/edit.rhtml config/locales/en-GB.yml config/locales/en.yml |
diffstat | 4 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/projects/settings/_repository.rhtml Mon Feb 07 12:52:57 2011 +0000 +++ b/app/views/projects/settings/_repository.rhtml Mon Feb 07 16:04:42 2011 +0000 @@ -11,6 +11,13 @@ <% end %> <p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p> <%= repository_field_tags(f, @repository) if @repository %> + + +<p> + <%= label_tag('_repository_is_external', l(:label_is_external_repository)) %> + <%= check_box :@repository, :is_external %> +</p> + </div> <div class="contextual">
--- a/app/views/users/edit.rhtml Mon Feb 07 12:52:57 2011 +0000 +++ b/app/views/users/edit.rhtml Mon Feb 07 16:04:42 2011 +0000 @@ -8,3 +8,4 @@ <%= render_tabs user_settings_tabs %> <% html_title(l(:label_user), @user.login, l(:label_administration)) -%> +
--- a/config/locales/en-GB.yml Mon Feb 07 12:52:57 2011 +0000 +++ b/config/locales/en-GB.yml Mon Feb 07 16:04:42 2011 +0000 @@ -615,6 +615,7 @@ label_not_contains: doesn't contain label_day_plural: days label_repository: Repository + label_is_external_repository: External? label_repository_plural: Repositories label_browse: Browse label_modification: "{{count}} change"
--- a/config/locales/en.yml Mon Feb 07 12:52:57 2011 +0000 +++ b/config/locales/en.yml Mon Feb 07 16:04:42 2011 +0000 @@ -632,6 +632,7 @@ label_not_contains: doesn't contain label_day_plural: days label_repository: Repository + label_is_external_repository: External? label_repository_plural: Repositories label_browse: Browse label_modification: "{{count}} change"