OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
add the spent time logo to wp details
bsatarnejadfc54c5162c86
diff --git a/frontend/src/app/modules/fields/display/field-types/wp-spent-time-display-field.module.ts b/frontend/src/app/modules/fields/display/field-types/wp-spent-time-display-field.module.tsindex d10ae389510..59db5cbaa2c 100644--- a/frontend/src/app/modules/fields/display/field-types/wp-spent-time-display-field.module.ts+++ b/frontend/src/app/modules/fields/display/field-types/wp-spent-time-display-field.module.ts@@ -35,7 +35,8 @@ import * as URI from 'urijs';export class WorkPackageSpentTimeDisplayField extends DurationDisplayField {public text = {- linkTitle: this.I18n.t('js.work_packages.message_view_spent_time')+ linkTitle: this.I18n.t('js.work_packages.message_view_spent_time'),+ logTime: this.I18n.t('js.button_log_time')};@InjectField() PathHelper:PathHelperService;@@ -63,7 +64,13 @@ export class WorkPackageSpentTimeDisplayField extends DurationDisplayField {});}++ const timelogLogo= document.createElement('a');+ timelogLogo.setAttribute('class','icon icon-time');+ timelogLogo.textContent = this.text.logTime;+element.innerHTML = '';element.appendChild(link);+ element.appendChild(timelogLogo);}}