mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-04 17:19:47 -04:00
Couple fixes
This commit is contained in:
parent
e70cbed4e4
commit
025d2bea2f
2 changed files with 1 additions and 6 deletions
app
|
@ -1,6 +1,6 @@
|
|||
.panel.panel-default
|
||||
.panel-heading(class=view.isDefaultComponent ? "is-default-component" : "")
|
||||
em #{viewcomponent.attributes.system}.
|
||||
em #{view.component.attributes.system}.
|
||||
strong.panel-title.spr= view.component.attributes.name
|
||||
span#description.text-muted= view.component.attributes.description
|
||||
.panel-body
|
||||
|
|
|
@ -22,11 +22,6 @@ module.exports = class SaveVersionModal extends ModalView
|
|||
@model = options.model or options.level
|
||||
@isPatch = not @model.hasWriteAccess()
|
||||
|
||||
getRenderData: ->
|
||||
c = super()
|
||||
c.hasChanges = @view.model.hasLocalChanges()
|
||||
c
|
||||
|
||||
afterRender: (insertDeltaView=true) ->
|
||||
super()
|
||||
@$el.find(if me.get('signedCLA') then '#accept-cla-wrapper' else '#save-version-button').hide()
|
||||
|
|
Loading…
Add table
Reference in a new issue