Add properties for 'log costs' more menu entry

pull/6827/head
Hagen Schink 10 years ago
parent ae55849975
commit 6a9cf1f81e
  1. 4
      app/assets/javascripts/angular/openproject-costs-app.js
  2. 1
      config/locales/js-de.yml
  3. 1
      config/locales/js-en.yml

@ -53,4 +53,8 @@ openprojectCostsApp.run(['HookService', function(HookService) {
return directive;
});
HookService.register('workPackageDetailsMoreMenu', function(params) {
return { "log_costs": ["icon-unit"] };
});
}]);

@ -41,5 +41,6 @@ de:
spentHoursLinked: "Aufgewendete Zeit"
overallCosts: "Gesamtkosten"
spentUnits: "Gebuchte Einheiten"
button_log_costs: "Stückkosten buchen"
label_hour: "Stunde"
label_hours: "Stunden"

@ -41,5 +41,6 @@ en:
spentHoursLinked: "Spent time"
overallCosts: "Overall costs"
spentUnits: "Spent units"
button_log_costs: "Log unit costs"
label_hour: "hour"
label_hours: "hours"

Loading…
Cancel
Save