diff --git a/app/coffee/modules/team/main.coffee b/app/coffee/modules/team/main.coffee index 9818f64c..a8370063 100644 --- a/app/coffee/modules/team/main.coffee +++ b/app/coffee/modules/team/main.coffee @@ -80,10 +80,13 @@ class TeamController extends mixOf(taiga.Controller, taiga.PageMixin) processStat: (stat) -> max = _.max(stat) + min = _.min(stat) singleStat = _.map stat, (value, key) -> if value == max return [key, 1] - return [key, (value * 0.3) / max] + else if value == min + return [key, 0.1] + return [key, (value * 0.5) / max] singleStat = _.object(singleStat) return singleStat @@ -150,22 +153,22 @@ TeamMembersDirective = () ->
- +
- +
- +
- +
- +
- 666 +
""" diff --git a/app/partials/views/modules/team/team-table.jade b/app/partials/views/modules/team/team-table.jade index 9566b943..166a615e 100644 --- a/app/partials/views/modules/team/team-table.jade +++ b/app/partials/views/modules/team/team-table.jade @@ -2,25 +2,25 @@ section.table-team.basic-table header.row.team-header div.username div.attribute.attribute-name - span Bug Killer + span Mr. Wolf div.popover.attribute-explanation - span Thanks to you, this project still steady! + span I see, you solve issues! div.attribute span Poison Drinker div.popover.attribute-explanation span Hey, are you a iocaine-holic? div.attribute - span Brown Dispatcher + span Cervantes div.popover.attribute-explanation - span Oh, stop dealing work! + span You have no fear to the blank page! div.attribute - Total Brown Eater + Total Bug Hunter div.popover.attribute-explanation - span Oh, poor devil, you are valuable! + span Thaks to you, this project still alive. div.attribute - span Chatter + span Night Shift div.popover.attribute-explanation - span This is not a chat... but I love your comments! + span Poor Devil, you work too much. div.attribute Total Power div.popover.attribute-explanation @@ -32,4 +32,4 @@ h2 span Team > span {{filtersRole.name || "All"}} -section.table-team.basic-table(tg-team-members, memberships="memberships", filtersq="filtersQ", filtersrole="filtersRole") +section.table-team.basic-table(tg-team-members, memberships="memberships", stats="stats", filtersq="filtersQ", filtersrole="filtersRole") diff --git a/app/styles/layout/typography.scss b/app/styles/layout/typography.scss index 664055ac..8808712b 100755 --- a/app/styles/layout/typography.scss +++ b/app/styles/layout/typography.scss @@ -255,3 +255,15 @@ a:visited { .icon-help:before { content: 'U'; } +.icon-bug:before { + content: 'Q'; +} +.icon-briefcase:before { + content: 'R'; +} +.icon-writer:before { + content: 'S'; +} +.icon-tasks:before { + content: 'T'; +} diff --git a/app/styles/modules/team/team-table.scss b/app/styles/modules/team/team-table.scss index 98d46076..e9e4f3e7 100644 --- a/app/styles/modules/team/team-table.scss +++ b/app/styles/modules/team/team-table.scss @@ -13,6 +13,9 @@ .points { @extend %xlarge; color: $grayer; + &.top { + color: $fresh-taiga; + } } .points { @extend %title;