Вывод подсказки с родителями к задаче для активностей
This commit is contained in:
parent
22f6f53b45
commit
06c98e0276
2 changed files with 5 additions and 1 deletions
|
|
@ -101,6 +101,7 @@ export namespace DailyEccmReport {
|
||||||
|
|
||||||
export type IssueAndChanges = {
|
export type IssueAndChanges = {
|
||||||
issue: RedmineTypes.Issue;
|
issue: RedmineTypes.Issue;
|
||||||
|
parents: string;
|
||||||
changes: Change[];
|
changes: Change[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -266,8 +267,11 @@ export namespace DailyEccmReport {
|
||||||
this.logger.error(`Not found issue data for #${activity.issue_id}`);
|
this.logger.error(`Not found issue data for #${activity.issue_id}`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
const parents = await this.issuesService.getParents(activity.issue_id);
|
||||||
|
const parentsHint = GetParentsHint(parents);
|
||||||
issueAndChanges = {
|
issueAndChanges = {
|
||||||
issue: issue,
|
issue: issue,
|
||||||
|
parents: parentsHint,
|
||||||
changes: [],
|
changes: [],
|
||||||
};
|
};
|
||||||
this.logger.debug(
|
this.logger.debug(
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<h3>Активности за период</h3>
|
<h3>Активности за период</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{{#each this.activities}}
|
{{#each this.activities}}
|
||||||
<li>
|
<li title="{{this.parents}}">
|
||||||
{{>redmineIssueAHref issue=this.issue}} (приоритет {{this.issue.priority.name}}; версия {{this.issue.fixed_version.name}}) - {{this.issue.subject}}
|
{{>redmineIssueAHref issue=this.issue}} (приоритет {{this.issue.priority.name}}; версия {{this.issue.fixed_version.name}}) - {{this.issue.subject}}
|
||||||
<ul>
|
<ul>
|
||||||
{{#each this.changes}}
|
{{#each this.changes}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue