I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Patch #2278

Disable "Save repository" button on new repositories

Added by Elektritter Messinger almost 11 years ago. Updated over 10 years ago.

Status:
Deferred
Priority:
Normal
Assignee:
Target version:
-
Start date:
23 Jan 2014
Due date:
% Done:

0%

Redmine version:
2.3
External issue:

Description

Hi,

a lot of our users were confused when the “Save repository” button is enabled on creating a new repository getting error message or a non function repository entry.

So I made a small patch which disables the “Save repository” button

  1. when it is a new repository entry
  2. allow_add_local is False

It made the form much cleaner to them and lowered the questions for help a lot

create_scm_button.patch View (551 Bytes) Elektritter Messinger, 23 Jan 2014 07:53

History

#1 Updated by Andriy Lesyuk over 10 years ago

  • Status changed from New to Under Verification
  • Assignee set to Andriy Lesyuk
  • Target version set to 0.5.0b

#2 Updated by Andriy Lesyuk over 10 years ago

The “Create” button (you mean by “Save repository”, I guess) is for adding existing repositories, e.g., Subversion remote repos. The allow_add_local option lets disable creation of local repositories only! So, still it should be possible to add existing remote repos. For this reason normally it’s not good to disable the “Create” button...

In your case, I assume, you have a specific environment. I guess, the only_creator option could do, what you want (see Configuration)... Did you try it? Does not it meet for your needs (why?)?

#3 Updated by Andriy Lesyuk over 10 years ago

  • Status changed from Under Verification to Deferred
  • Target version deleted (0.5.0b)

Also available in: Atom PDF

Terms of use | Privacy policy