US #3903: Sprint number/title column on search results for user stories

stable
everblut 2016-02-12 02:03:40 -06:00 committed by David Barragán Merino
parent ce7a042382
commit 3eea466451
6 changed files with 14 additions and 4 deletions

View File

@ -21,6 +21,7 @@ answer newbie questions, and generally made Taiga that much better:
- Brett Profitt <brett.profitt@gmail.com>
- Chris Wilson <chris.wilson@aridhia.com>
- Daniel Koch
- Everardo Medina <everblut@gmail.com>
- Florian Bezagu
- Guilhem Got <guilhem.got@gmail.com>
- Jordan Rinke

View File

@ -7,6 +7,7 @@
- ...
### Misc
- Add sprint title on search results for user stories (thanks to [@everblut](https://github.com/everblut))
- Lots of small and not so small bugfixes.

View File

@ -140,7 +140,8 @@
"BLOCKED_NOTE": "blocked note",
"IS_BLOCKED": "is blocked",
"REF": "Ref",
"VOTES": "Votes"
"VOTES": "Votes",
"SPRINT": "Sprint"
},
"ROLES": {
"ALL": "All"

View File

@ -1572,4 +1572,4 @@
"RESULTS": "Resultados de búsqueda"
}
}
}
}

View File

@ -28,6 +28,7 @@ script(type="text/ng-template", id="search-userstories")
div.row.title
div.ref(translate="COMMON.FIELDS.REF")
div.user-stories(translate="SEARCH.FILTER_USER_STORIES")
div.sprint(translate="COMMON.FIELDS.SPRINT")
div.status(translate="COMMON.FIELDS.STATUS")
div.points(translate="COMMON.FIELDS.POINTS")
div.search-result-table-body
@ -37,6 +38,10 @@ script(type="text/ng-template", id="search-userstories")
div.user-story-name
a(href="", tg-nav="project-userstories-detail:project=project.slug,ref=us.ref",
tg-bo-bind="us.subject")
div.sprint
div.sprint-link
a(href="", tg-nav="project-taskboard:project=project.slug,sprint=us.milestone_slug",
tg-bo-bind="us.milestone_name")
div.status(tg-listitem-us-status="us")
div.points(tg-bo-bind="us.total_points")

View File

@ -17,7 +17,8 @@
flex-shrink: 1;
}
.status,
.points {
.points,
.sprint {
flex-basis: 150px;
flex-grow: 0;
padding: 0 1rem;
@ -60,7 +61,8 @@
border-bottom: 1px solid $whitish;
}
.status,
.points {
.points,
.sprint {
position: relative;
}
.avatar {