Updates for th e mantra site
This commit is contained in:
@@ -10,7 +10,7 @@ block content
|
||||
.container
|
||||
.center
|
||||
h1 #{artifactVersion.artifact.name}
|
||||
if artifactVersion.artifact.accessibility == "private"
|
||||
if artifactVersion.artifact.visibility == "private"
|
||||
i.right.medium.material-icons lock
|
||||
|
||||
h2 #{artifactVersion.tag}
|
||||
|
||||
@@ -10,7 +10,7 @@ block content
|
||||
.container
|
||||
.center
|
||||
h1 #{artifactVersion.artifact.name}
|
||||
if artifactVersion.artifact.accessibility == "private"
|
||||
if artifactVersion.artifact.visibility == "private"
|
||||
i.right.medium.material-icons lock
|
||||
|
||||
h2 #{artifactVersion.tag}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var elems = document.querySelectorAll('#accessibility-select');
|
||||
var elems = document.querySelectorAll('#visibility-select');
|
||||
var instances = M.FormSelect.init(elems, {});
|
||||
});
|
||||
@@ -21,19 +21,19 @@ block content
|
||||
.col.s12.input-field
|
||||
p
|
||||
label
|
||||
input(type="radio", name="accessibility", value="public")
|
||||
input(type="radio", name="visibility", value="public")
|
||||
span Public
|
||||
br
|
||||
small Anyone can see and add translations
|
||||
p
|
||||
label
|
||||
input(type="radio", name="accessibility", value="permissioned")
|
||||
input(type="radio", name="visibility", value="permissioned")
|
||||
span Permissioned
|
||||
br
|
||||
small Anyone can see but restrict translations
|
||||
p
|
||||
label
|
||||
input(type="radio", name="accessibility", value="private")
|
||||
input(type="radio", name="visibility", value="private")
|
||||
span Private
|
||||
br
|
||||
small Restrict who can see and translate project
|
||||
|
||||
Reference in New Issue
Block a user