Public git read-only access via http

This commit is contained in:
Dmitriy Zaporozhets 2013-01-10 20:17:57 +02:00
parent eb626edd3f
commit 4c6224aad1
10 changed files with 89 additions and 15 deletions

View file

@ -43,6 +43,13 @@
= f.label :wiki_enabled, "Wiki"
.input= f.check_box :wiki_enabled
%fieldset.features
%legend Public mode:
.clearfix
= f.label :public do
%span Allow public http clone
.input= f.check_box :public
%fieldset.features
%legend Transfer:
.control-group

View file

@ -77,6 +77,13 @@
SSH:
%td
= link_to @project.ssh_url_to_repo
- if @project.public
%tr.bgred
%td
%b
Public Read-Only Code access:
%td
= check_box_tag 'public', nil, @project.public
- if @repository
%table.zebra-striped