Project

General

Profile

Revision 720671b8

Added by Ondřej Pražák over 6 years ago

Fixes #13288 - Fix for pattrenfly UI

View differences:

app/assets/javascripts/foreman_pipeline/jobs/views/jobs-table-full.html
14 14
      <th bst-table-column="hostgroup"><span translate>Hostgroup</span></th>
15 15
      <th bst-table-column="environment"><span translate>Environment</span></th>
16 16
      <th bst-table-column="jenkinsInstance"><span translate>Jenkins Instance</span></th>
17

  
18 17
    </tr>
19 18
  </thead>
20 19

  
......
29 28
      </td>
30 29
      <td bst-table-cell>
31 30
        <a ng-show="{{ job.content_view !== null }}"
32
           ui-sref="content-views.details.info({ contentViewId: job.content_view.id })">                    
31
           ui-sref="content-views.details.info({ contentViewId: job.content_view.id })">
33 32
          <div>{{ job.content_view.name }}</div>
34 33
        </a>
35 34
        <div ng-show="{{ job.content_view === null }}" translate>none</div>
......
39 38
           ng-click="transitionToHostgroup(job.hostgroup)">
40 39
          <div>{{ job.hostgroup.name }}</div>
41 40
        </a>
42
                
41

  
43 42
        <div ng-show="{{ job.hostgroup === null }}" translate>none</div>
44
        
43

  
45 44
      </td>
46 45
      <td bst-table-cell>
47 46
        <a ng-show="{{ job.environment !== null }}"
48 47
           ui-sref="environments.environment.details({ environmentId: job.environment.id })">
49 48
          <div>{{ job.environment.name }}</div>
50 49
        </a>
51
                
50

  
52 51
        <div ng-show="{{ job.environment === null }}" translate>none</div>
53
        
52

  
54 53
      </td>
55 54
      <td bst-table-cell>
56 55
        <a ng-show="{{ job.jenkins_instance !== null }}"
57 56
           ui-sref="jenkins-instances.details.info({ jenkinsInstanceId: job.jenkins_instance.id })">
58 57
          <div>{{ job.jenkins_instance.name }}</div>
59 58
        </a>
60
                
59

  
61 60
        <div ng-show="{{ job.jenkins_instance === null }}" translate>none</div>
62
        
61

  
63 62
      </td>
64 63
    </tr>
65
  </tbody> 
66
</table>
64
  </tbody>
65
</table>

Also available in: Unified diff