summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-25 09:24:33 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-25 09:24:33 +0200
commit2f5638cfee5d43d2eedcf506c3f9568d22616bcb (patch)
tree0eb5adf752ae0e398e45a5274e3f3292c658fb41
parentbcc008c6023e095c05b65304b2f6646a8f9d3da3 (diff)
downloadgitlab-ci-2f5638cfee5d43d2eedcf506c3f9568d22616bcb.tar.gz
Pre version and proper message if no public projects
-rw-r--r--VERSION2
-rw-r--r--app/views/projects/_form.html.haml2
-rw-r--r--app/views/projects/_public.html.haml23
3 files changed, 15 insertions, 12 deletions
diff --git a/VERSION b/VERSION
index 8089590..857e487 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.3.0
+4.4.0.pre
diff --git a/app/views/projects/_form.html.haml b/app/views/projects/_form.html.haml
index 0b8fa4c..ddbfe39 100644
--- a/app/views/projects/_form.html.haml
+++ b/app/views/projects/_form.html.haml
@@ -39,7 +39,7 @@
= f.label :timeout, 'Timeout', class: 'control-label'
.col-sm-10
= f.number_field :timeout, class: 'form-control', min: '0'
- .light In seconds per command
+ .light In seconds
%fieldset
diff --git a/app/views/projects/_public.html.haml b/app/views/projects/_public.html.haml
index bb46d51..f2e887c 100644
--- a/app/views/projects/_public.html.haml
+++ b/app/views/projects/_public.html.haml
@@ -1,14 +1,17 @@
= content_for :title do
%h3.project-title
Public projects
-.projects
- %table.table
- %tr
- %th ID
- %th Name
- %th Last build
- %th Access
- %th Builds
- = render @projects
-= paginate @projects
+- if @projects.present?
+ .projects
+ %table.table
+ %tr
+ %th ID
+ %th Name
+ %th Last build
+ %th Access
+ %th Builds
+ = render @projects
+ = paginate @projects
+- else
+ %h4 No public projects yet