File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 164164 if ( issue . parent ) {
165165 jQuery ( '.parent' , ticketCard ) . html ( issue . parent . id ) . attr ( 'href' , relativeUrl + '/issues/' + issue . parent . id ) ;
166166 } else {
167- jQuery ( '.parent ' ) . hide ( ) ;
167+ jQuery ( '.histoire ' ) . hide ( ) ;
168168 }
169169 jQuery ( '.subject' , ticketCard ) . html ( issue . subject ) ;
170170
171- if ( issue . story_points ) {
171+ if ( issue . story_points != null ) {
172172 jQuery ( '.estimation' , ticketCard ) . html ( issue . story_points ) ;
173173 } else {
174174 jQuery ( '.estimation' , ticketCard ) . html ( ) ;
177177 jQuery ( '.line.custom-field' ) . hide ( ) ;
178178 if ( issue . custom_fields ) {
179179 for ( var i = 0 ; i < issue . custom_fields . length ; i ++ ) {
180- if ( issue . custom_fields [ i ] . name == "Type d'anomalie" ) {
181- jQuery ( '.anomalie span' , ticketCard ) . html ( issue . custom_fields [ i ] . value [ 0 ] ) ;
182- jQuery ( '.anomalie' ) . show ( ) ;
180+ jQuery ( '.line.custom-field.anomalie' ) . hide ( ) ;
181+ if ( issue . custom_fields [ i ] . name == "Type d'anomalie" ) {
182+ jQuery ( '.anomalie span' , ticketCard ) . html ( issue . custom_fields [ i ] . value [ 0 ] ) ;
183+ jQuery ( '.line.custom-field.anomalie' ) . show ( ) ;
183184 }
184185 if ( issue . custom_fields [ i ] . name == "Conditions de d\u00e9part" ) {
185186 jQuery ( '.start' ) . show ( ) ;
Original file line number Diff line number Diff line change 4343
4444.ticket .subject {
4545 display : block;
46- margin-top : 25px ;
4746 font-size : 18px ;
4847 line-height : 20px ;
4948 font-weight : bold;
49+ width : 80% ;
5050}
5151
5252.ticket .histoire {
5353 float : left;
5454}
5555
5656.ticket .estimation {
57- float : right ;
57+ text-align : center ;
5858}
5959
6060.ticket .line {
You can’t perform that action at this time.
0 commit comments