Saving the work package does not work as of yet.pull/3701/head
parent
880cd83485
commit
40167485a9
@ -0,0 +1,40 @@ |
||||
<!-- |
||||
~ -- 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. |
||||
~ ++ |
||||
--> |
||||
|
||||
<div class="work-packages--edit-actions" ng-show="efs.editAll.state"> |
||||
<button class="button" accesskey="3" ng-click="efs.editAll.stop()"> |
||||
<i class="button--icon icon-save1"></i> |
||||
<span class="button--text" ng-bind="::I18n.t('js.button_save')"></span> |
||||
</button> |
||||
<button class="button" accesskey="7" ng-click="efs.editAll.stop()"> |
||||
<i class="button--icon icon-cancel"></i> |
||||
<span class="button--text" ng-bind="::I18n.t('js.button_cancel')"></span> |
||||
</button> |
||||
</div> |
@ -0,0 +1,43 @@ |
||||
// -- 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 { |
||||
restrict: 'E', |
||||
templateUrl: '/templates/work_packages/work_package_edit_actions.html', |
||||
scope: { |
||||
workPackage: '=' |
||||
}, |
||||
|
||||
controller: ['$scope', 'I18n', 'EditableFieldsState', |
||||
function ($scope, I18n, EditableFieldsState) { |
||||
$scope.I18n = I18n; |
||||
$scope.efs = EditableFieldsState; |
||||
}] |
||||
}; |
||||
}; |
Loading…
Reference in new issue