summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValeriy Sizov <vsv2711@gmail.com>2012-11-26 02:40:51 -0800
committerValeriy Sizov <vsv2711@gmail.com>2012-11-26 02:40:51 -0800
commit72967d4597f931ee64b9f8f99a966a547f9ae24b (patch)
treea0780af1cf0d675516003f3be0515eec8e7957c2
parent5a19aba642a098b4d0073a601803c69724c809a1 (diff)
parente8e79bc8e50a82f2295f760a3930e40c9267bcc6 (diff)
downloadgitlab-ci-72967d4597f931ee64b9f8f99a966a547f9ae24b.tar.gz
Merge pull request #16 from jojosch/project-details-textfield-readonly
Project Details - textfield readonly instead of disabled
-rw-r--r--app/views/projects/details.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/details.html.haml b/app/views/projects/details.html.haml
index 4c5e59c..739386f 100644
--- a/app/views/projects/details.html.haml
+++ b/app/views/projects/details.html.haml
@@ -24,12 +24,12 @@
.control-group
= label_tag :url, 'Project URL', class: 'control-label'
.controls
- = text_field_tag :url, project_url(@project), class: 'input-xxlarge', disabled: true
+ = text_field_tag :url, project_url(@project), class: 'input-xxlarge', readonly: true
.control-group
= label_tag :token, 'Project Token', class: 'control-label'
.controls
- = text_field_tag :token, @project.token, class: 'input-xxlarge', disabled: true
+ = text_field_tag :token, @project.token, class: 'input-xxlarge', readonly: true
%fieldset
%legend
@@ -39,6 +39,6 @@
.control-group
= label_tag :hook_url, 'HTTP POST Hook url', class: 'control-label'
.controls
- = text_field_tag :url, build_project_url(@project, token: @project.token), class: 'input-xxlarge', disabled: true
+ = text_field_tag :url, build_project_url(@project, token: @project.token), class: 'input-xxlarge', readonly: true
%p.hint Copy this link and add to GitLab web hooks