aboutsummaryrefslogtreecommitdiffstats
path: root/yocto_console_view/src/module/yoctochangedetails.tpl.jade
blob: f4e45d8bf222e8ef6935da845c245e93f87c397f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
div.yoctochangedetails(style="width:100%;")
    div(style="width:100%;", ng-click="change.show_details = !change.show_details")
        a(ng-if="change.revlink", ng-href="{{change.revlink}}", uib-tooltip="{{change.comments}}")
            | {{ change.caption }}  
        a(ng-if="change.errorlink", ng-href="{{change.errorlink}}")
            | {{ "Errors" }}  
        span(ng-if="!change.revlink", uib-tooltip="{{change.comments}}")
            | {{ change.caption }}  
        span(ng-if="!compact" uib-tooltip="{{change.when_timestamp | dateformat:'LLL'}}")
            | ({{ change.when_timestamp | timeago }})  
        i.fa.fa-chevron-circle-right.rotate.clickable(ng-class="{'fa-rotate-90':change.show_details}")
    div.anim-changedetails(ng-show="change.show_details")
        table.table.table-striped.table-condensed(ng-show="change.show_details")
          tr(ng-show="change.reason")
            td Reason
            td {{ change.reason }}
          tr(ng-show="change.author")
            td Author
            td {{ change.author }}
          tr
            td Date
            td {{ change.when_timestamp | dateformat:'LLL'}} ({{ change.when_timestamp | timeago }})
          tr(ng-show="change.repository")
            td Repository
            td {{ change.repository }}
          tr(ng-show="change.branch")
            td Branch
            td {{ change.branch }}
          tr
            td Revision
            td 
              a(ng-if="change.revlink", ng-href="{{change.revlink}}") 
                | {{ change.revision }}

        h5 Comment
        pre {{ change.comments }}
        h5 Changed files
        ul
          li(ng-repeat='file in change.files') {{file}}
        p(ng-hide="change.files.length") No files