mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 23:53:49 +00:00
[Timelines] #677 Removed temporary markup
This commit is contained in:
@ -44,22 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="holder l-flex-col flex-elem grows l-object-wrapper">
|
<div class="holder l-flex-col flex-elem grows l-object-wrapper">
|
||||||
<div ng-if="isEditable" class="holder l-flex-col flex-elem grows l-object-wrapper-inner">
|
<div class="holder l-flex-col flex-elem grows l-object-wrapper-inner">
|
||||||
<!-- Toolbar and Save/Cancel buttons -->
|
|
||||||
<div class="l-edit-controls flex-elem l-flex-row flex-align-end">
|
|
||||||
<mct-representation key="'edit-action-buttons'"
|
|
||||||
mct-object="domainObject"
|
|
||||||
class='flex-elem conclude-editing'>
|
|
||||||
</mct-representation>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<mct-representation key="representation.selected.key"
|
|
||||||
mct-object="representation.selected.key && domainObject"
|
|
||||||
class="abs flex-elem grows object-holder-main scroll"
|
|
||||||
toolbar="toolbar">
|
|
||||||
</mct-representation>
|
|
||||||
</div>
|
|
||||||
<div ng-if="!isEditable" class="holder l-flex-col flex-elem grows l-object-wrapper-inner">
|
|
||||||
<!-- Toolbar and Save/Cancel buttons -->
|
<!-- Toolbar and Save/Cancel buttons -->
|
||||||
<div class="l-edit-controls flex-elem l-flex-row flex-align-end">
|
<div class="l-edit-controls flex-elem l-flex-row flex-align-end">
|
||||||
<mct-representation key="'edit-action-buttons'"
|
<mct-representation key="'edit-action-buttons'"
|
||||||
|
@ -118,8 +118,6 @@ define(
|
|||||||
// Track the represented object
|
// Track the represented object
|
||||||
this.domainObject = representedObject;
|
this.domainObject = representedObject;
|
||||||
|
|
||||||
this.scope.isEditable = representedObject.getCapability('status').get('editing');
|
|
||||||
|
|
||||||
// Ensure existing watches are released
|
// Ensure existing watches are released
|
||||||
this.destroy();
|
this.destroy();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user