Moved modules to components for watchers and assigned
parent
33f540e663
commit
c56f85cb11
|
@ -11,9 +11,11 @@ block content
|
|||
include views/components/mainTitle
|
||||
a.button.button-green(href="", title="Edit") Edit
|
||||
section.us-story-main-data
|
||||
h2.us-title
|
||||
div.us-title
|
||||
h2
|
||||
span.us-number(tg-bo-html="issue.ref")
|
||||
span.us-name(ng-bind="issue.subject")
|
||||
input(type="text", placeholder="Set title")
|
||||
|
||||
// div.blocked-warning
|
||||
// span.icon.icon-warning
|
||||
|
@ -61,17 +63,9 @@ block content
|
|||
span.points 10
|
||||
span.role UX
|
||||
|
||||
|
||||
// TODO: change clase
|
||||
section.us-detail-assigned-to
|
||||
div.user-avatar
|
||||
a.avatar(href="", title="Assigned to")
|
||||
img(src="http://thecodeplayer.com/u/uifaces/18.jpg", alt="username")
|
||||
div.assigned-to
|
||||
span.assigned-title Assigned to
|
||||
span.user-assigned Anler Hernández
|
||||
|
||||
include views/modules/watchers
|
||||
include views/components/assigned-to
|
||||
section.watchers
|
||||
include views/components/watchers
|
||||
|
||||
// NOTE: only for user story?
|
||||
// section.us-detail-settings
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
section.us-detail-assigned-to
|
||||
div.user-avatar
|
||||
a.avatar(href="", title="Assigned to")
|
||||
img(src="http://thecodeplayer.com/u/uifaces/18.jpg", alt="username")
|
||||
div.assigned-to
|
||||
span.assigned-title Assigned to
|
||||
span.user-assigned Anler Hernández
|
|
@ -0,0 +1,13 @@
|
|||
//- Father [section.watchers] should be out of the template
|
||||
div.watchers-header
|
||||
span.title watchers
|
||||
a.icon.icon-plus(href="", title="Add watcher")
|
||||
div.watchers-content
|
||||
- for(var y=0; y<5; y++)
|
||||
div.watcher-single
|
||||
div.watcher-avatar
|
||||
a.avatar(href="", title="Assigned to")
|
||||
img(src="http://thecodeplayer.com/u/uifaces/32.jpg", alt="username")
|
||||
div.watcher-name
|
||||
a(href="", title="Jesús Espino") Jesús
|
||||
a.icon.icon-delete(href="", title="delete-watcher")
|
|
@ -1,13 +0,0 @@
|
|||
section.watchers
|
||||
div.watchers-header
|
||||
span.title watchers
|
||||
a.icon.icon-plus(href="", title="Add watcher")
|
||||
div.watchers-content
|
||||
- for(var y=0; y<5; y++)
|
||||
div.watcher-single
|
||||
div.watcher-avatar
|
||||
a.avatar(href="", title="Assigned to")
|
||||
img(src="http://thecodeplayer.com/u/uifaces/32.jpg", alt="username")
|
||||
div.watcher-name
|
||||
a(href="", title="Jesús Espino") Jesús
|
||||
a.icon.icon-delete(href="", title="delete-watcher")
|
|
@ -53,6 +53,7 @@
|
|||
}
|
||||
ul {
|
||||
float: right;
|
||||
margin: 0;
|
||||
}
|
||||
li {
|
||||
display: inline-block;
|
||||
|
@ -65,7 +66,7 @@
|
|||
background: $gray-light;
|
||||
border-radius: 2px;
|
||||
height: 8px;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: .5rem;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in New Issue