only show langauges on jobs page if set
This commit is contained in:
parent
03bec245aa
commit
754ac9dab9
|
@ -170,13 +170,21 @@
|
|||
height: 64px
|
||||
.tile-main
|
||||
color: #7d8282
|
||||
// variations if env and/or code are set
|
||||
p.tile-single-line
|
||||
padding: 0
|
||||
line-height: 1.4
|
||||
&:only-of-type
|
||||
padding: .7em 0
|
||||
.icon--env
|
||||
height: 1.2em
|
||||
.icon--code
|
||||
width: 1.3em
|
||||
height: 1.2em
|
||||
.icon
|
||||
margin-right: .3em
|
||||
.icon.mac
|
||||
height: 1.6em
|
||||
.tile-double-line
|
||||
padding: 0
|
||||
line-height: 1.4
|
||||
@media #{$medium-up}
|
||||
white-space: nowrap
|
||||
overflow: hidden
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
|
||||
<div class="tile-main medium-4 columns">
|
||||
{{#if config.env}}
|
||||
<p class="build-env tile-double-line"><span class="icon icon--env"></span>{{config.global_env}} {{config.env}}</p>
|
||||
<p class="build-lang tile-double-line"><span class="icon icon--lang"></span>{{view.languages}}</p>
|
||||
{{else}}
|
||||
<p class="build-env tile-single-line"><span class="icon icon--env"></span>{{config.global_env}} {{config.env}}</p>
|
||||
{{/if}}
|
||||
{{#if view.languages}}
|
||||
<p class="build-lang tile-single-line"><span class="icon icon--lang"></span>{{view.languages}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user