parent
391f036abe
commit
2d3cabd124
@ -1 +1 @@ |
||||
<span ng-bind="readValue"></span> |
||||
<span ng-bind="fieldController.getReadValue()"></span> |
||||
|
@ -1 +1 @@ |
||||
<span ng-bind-html="readValue"></span> |
||||
<span ng-bind-html="fieldController.getReadValue().html"></span> |
||||
|
@ -1,6 +1,6 @@ |
||||
<input class="focus-input inplace-edit--text-field" |
||||
name="value" |
||||
type="text" |
||||
ng-disabled="isBusy" |
||||
title="{{ editTitle }}" |
||||
ng-model="dataObject.value" /> |
||||
ng-disabled="fieldController.isBusy" |
||||
title="{{ fieldController.editTitle }}" |
||||
ng-model="fieldController.writeValue" /> |
||||
|
@ -1,21 +1,12 @@ |
||||
<div class="work-package-field"> |
||||
<div class="editable-branch" ng-if="fieldController.isEditable"> |
||||
<div class="editable-branch" ng-if="fieldController.isEditable()"> |
||||
<inplace-editor-main-pane> |
||||
<inplace-editor-display-pane> |
||||
<div ng-bind="fieldController.readValue"></div> |
||||
</inplace-editor-display-pane> |
||||
<inplace-editor-edit-pane> |
||||
<input class="focus-input" |
||||
name="value" |
||||
type="text" |
||||
ng-disabled="fieldController.isBusy" |
||||
title="{{ fieldController.editTitle }}" |
||||
ng-model="fieldController.writeValue" /> |
||||
</inplace-editor-edit-pane> |
||||
<inplace-editor-display-pane></inplace-editor-display-pane> |
||||
<inplace-editor-edit-pane></inplace-editor-edit-pane> |
||||
</inplace-editor-main-pane> |
||||
</div> |
||||
<div class="static-branch" ng-if="!fieldController.isEditable"> |
||||
<empty-element ng-if="fieldController.isEmpty"></empty-element> |
||||
<div class="field-value" ng-if="!fieldController.isEmpty" ng-bind="vm.value"></div> |
||||
<div class="static-branch" ng-if="!fieldController.isEditable()"> |
||||
<empty-element ng-if="fieldController.isEmpty()"></empty-element> |
||||
<div class="field-value" ng-if="!fieldController.isEmpty()" ng-bind="fieldController.getReadValue()"></div> |
||||
</div> |
||||
</div> |
||||
|
@ -1,9 +1,15 @@ |
||||
<div class="ined-read-value editable" ng-hide="fieldController.isEditing" ng-click="displayPaneController.startEditing()"> |
||||
<div ng-transclude></div> |
||||
<div class="inplace-edit--read" ng-hide="fieldController.isEditing" ng-click="displayPaneController.startEditing()"> |
||||
<span class="editing-link-wrapper"> |
||||
<accessible-by-keyboard execute="displayPaneController.startEditing()"> |
||||
<icon-wrapper icon-name="edit" icon-title="{{ fieldController.editTitle }}"> |
||||
</icon-wrapper> |
||||
<accessible-by-keyboard |
||||
class="inplace-editing--trigger-container" |
||||
span-class="inplace-editing--container" |
||||
link-class="inplace-editing--trigger-link" |
||||
execute="displayPaneController.startEditing()"> |
||||
<span class="inplace-edit--read-value" ng-include="templateUrl"></span> |
||||
<span class="inplace-edit--icon-wrapper"> |
||||
<icon-wrapper icon-name="edit" icon-title="{{ fieldController.editTitle }}"> |
||||
</icon-wrapper> |
||||
</span> |
||||
</accessible-by-keyboard> |
||||
</span> |
||||
</div> |
||||
|
@ -1,8 +1,7 @@ |
||||
<div |
||||
class="inplace-editor type-{{ fieldController.type }} attribute-{{ fieldController.field }}" |
||||
ng-class="{busy: fieldController.isBusy}" |
||||
aria-busy="{{ fieldController.isBusy }}" |
||||
> |
||||
class="inplace-edit type-{{ fieldController.type }} work-packages--details--{{ fieldController.field }}" |
||||
ng-class="{'-busy': fieldController.isBusy}" |
||||
aria-busy="{{ fieldController.isBusy }}"> |
||||
<ng-transclude></ng-transclude> |
||||
</div> |
||||
|
||||
|
@ -0,0 +1,33 @@ |
||||
//-- copyright
|
||||
// OpenProject is a project management system.
|
||||
// Copyright (C) 2012-2015 the OpenProject Foundation (OPF)
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License version 3.
|
||||
//
|
||||
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
||||
// Copyright (C) 2006-2013 Jean-Philippe Lang
|
||||
// Copyright (C) 2010-2013 the ChiliProject Team
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
//
|
||||
// See doc/COPYRIGHT.rdoc for more details.
|
||||
//++
|
||||
|
||||
module.exports = function() { |
||||
return { |
||||
workPackage: null |
||||
}; |
||||
} |
Loading…
Reference in new issue