commit/galaxy-central: greg: Don't allow repository names to be changed if the repository has been cloned at least 1 time.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/f22a8a7bd077/ changeset: f22a8a7bd077 user: greg date: 2011-12-20 20:31:13 summary: Don't allow repository names to be changed if the repository has been cloned at least 1 time. affected #: 1 file diff -r 8458fa9dd5590e0890effaf04c50ba19013a280c -r f22a8a7bd077a118bcfa71430f345ff46873757f templates/webapps/community/repository/manage_repository.mako --- a/templates/webapps/community/repository/manage_repository.mako +++ b/templates/webapps/community/repository/manage_repository.mako @@ -139,7 +139,14 @@ %endif <div class="form-row"><label>Name:</label> - <input name="repo_name" type="textfield" value="${repo_name}" size="40"/> + %if repository.times_downloaded > 0: + ${repo_name} + %else: + <input name="repo_name" type="textfield" value="${repo_name}" size="40"/> + %endif + <div class="toolParamHelp" style="clear: both;"> + Repository names cannot be changed if the repository has been cloned. + </div><div style="clear: both"></div></div><div class="form-row"> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket