mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
show the publish template area to all project owners
This commit is contained in:
parent
fe16bea798
commit
721eda71f3
2 changed files with 29 additions and 29 deletions
|
@ -286,7 +286,6 @@
|
|||
|
||||
|
||||
script(type="text/template")#publishProjectTemplate
|
||||
-if(session && session.user && session.user.isAdmin)
|
||||
.box
|
||||
.page-header
|
||||
h2 Publish project as template
|
||||
|
|
|
@ -25,6 +25,7 @@ define [
|
|||
@publishProjectView?.refreshPublishStatus()
|
||||
|
||||
setupPublish = _.once =>
|
||||
if @ide.security? and @ide.security.permissionsLevel == "owner"
|
||||
@publishProjectView = new PublishProjectView
|
||||
ide: @ide
|
||||
el: $("#publishProject")
|
||||
|
|
Loading…
Reference in a new issue