Make project privacy settings readonly and overwritable by plugins.

stable
Andrey Antukh 2014-09-04 15:38:05 +02:00
parent d50508661c
commit a93eeedf16
1 changed files with 10 additions and 9 deletions

View File

@ -43,16 +43,17 @@ block content
textarea(name="description", placeholder="Description", id="project-description",
ng-model="project.description", data-required="true")
tg-privacy-settings-inputs
div.privacy-settings
div
input.hidden(type="radio", id="public-project", name="project-privacy",
ng-model="project.is_private", ng-value="false")
input.hidden(type="radio", disabled="disabled")
label.button(for="public-project") Public Project
div
input.hidden(type="radio", id="private-project", name="project-privacy",
ng-model="project.is_private", ng-value="true")
input.hidden(type="radio", checked="checked", disabled="disabled")
label.button(for="private-project") Private Project
p This feature is not available at this momment but it will be available in very near future
input(type="submit", class="hidden")
a.button.button-green(href="") Save
a.delete-project(href="", title="Delete this project", ng-click="ctrl.openDeleteLightbox()") Delete this project