diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-12 17:56:22 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-15 14:05:30 +0300 |
commit | c456cc718bc88b2ce66974d0f75224472a2894e4 (patch) | |
tree | 6dcdd42f0d4645b4780aeb9523961cce203b227e /app/controllers/projects/compare_controller.rb | |
parent | 20295b3db379f4be02521cac591feca3452a2b1c (diff) |
Make the labels in the Compare form less confusing
* Improve the descriptive text
* Rename "from" to "Target" and "to" to "Source"
* Swap "Target" and "Source" to have the same order as in MRs
* Reworded "Switch base of comparison" to "Swap versions"
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/projects/compare_controller.rb')
-rw-r--r-- | app/controllers/projects/compare_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/compare_controller.rb b/app/controllers/projects/compare_controller.rb index 193549663ac..3c8eaa24080 100644 --- a/app/controllers/projects/compare_controller.rb +++ b/app/controllers/projects/compare_controller.rb @@ -27,7 +27,7 @@ class Projects::CompareController < Projects::ApplicationController def create if params[:from].blank? || params[:to].blank? - flash[:alert] = "You must select from and to branches" + flash[:alert] = "You must select a Source and a Target revision" from_to_vars = { from: params[:from].presence, to: params[:to].presence |