diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-25 09:24:33 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-25 09:24:33 +0200 |
commit | 2f5638cfee5d43d2eedcf506c3f9568d22616bcb (patch) | |
tree | 0eb5adf752ae0e398e45a5274e3f3292c658fb41 | |
parent | bcc008c6023e095c05b65304b2f6646a8f9d3da3 (diff) | |
download | gitlab-ci-2f5638cfee5d43d2eedcf506c3f9568d22616bcb.tar.gz |
Pre version and proper message if no public projects
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | app/views/projects/_form.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/_public.html.haml | 23 |
3 files changed, 15 insertions, 12 deletions
@@ -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 |