This commit is contained in:
Scott Erickson 2014-07-14 17:18:48 -07:00
parent 888ee6c0bb
commit b113e126a3

View file

@ -28,9 +28,10 @@ nav.navbar.navbar-default(role='navigation')
span.glyphicon.glyphicon-eye-close
span.spl Unwatch
li#patch-component-button
a(data-i18n="common.submit_patch") Submit Patch
if me.isAdmin()
if !component.hasWriteAccess()
li#patch-component-button
a(data-i18n="common.submit_patch") Submit Patch
if !me.get('anonymous')
li#create-new-component-button
a(data-i18n="editor.level_component_b_new") Create New Component