mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-12-23 05:17:22 +00:00
Multiple: Fix skill keywords collection glitches.
This commit is contained in:
parent
2261537724
commit
7be839bdbf
@ -41,7 +41,7 @@
|
||||
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||
<tr>
|
||||
<td style="width: 25%;">{{ skill.name }}</td>
|
||||
<td class="keywords">{% print( skill.keywords.join(', ') ) %}</td>
|
||||
<td class="keywords">{% print( (skill.keywords && skill.keywords.length && skill.keywords.join(', ')) || '[None Specified]' ) %}</td>
|
||||
</tr>
|
||||
{% }); %}
|
||||
</tbody>
|
||||
|
@ -43,7 +43,7 @@
|
||||
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||
<tr>
|
||||
<td style="width: 25%;">{{ skill.name }}</td>
|
||||
<td class="keywords">{% print( skill.keywords.join(', ') ) %}</td>
|
||||
<td class="keywords">{% print( (skill.keywords && skill.keywords.length && skill.keywords.join(', ')) || '[None Specified]' ) %}</td>
|
||||
</tr>
|
||||
{% }); %}
|
||||
</tbody>
|
||||
|
@ -41,7 +41,7 @@
|
||||
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||
<tr>
|
||||
<td style="width: 25%;">{{ skill.name }}</td>
|
||||
<td class="keywords">{% print( skill.keywords.join(', ') ) %}</td>
|
||||
<td class="keywords">{% print( (skill.keywords && skill.keywords.length && skill.keywords.join(', ')) || '[None Specified]' ) %}</td>
|
||||
</tr>
|
||||
{% }); %}
|
||||
</tbody>
|
||||
|
@ -43,7 +43,7 @@
|
||||
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||
<tr>
|
||||
<td style="width: 25%;">{{ skill.name }}</td>
|
||||
<td class="keywords">{% print(skill.keywords.join(', ')); %}</td>
|
||||
<td class="keywords">{% print( (skill.keywords && skill.keywords.length && skill.keywords.join(', ')) || '[None Specified]' ) %}</td>
|
||||
</tr>
|
||||
{% }); %}
|
||||
</tbody>
|
||||
|
@ -64,9 +64,11 @@ engine: Underscore
|
||||
<strong>{{ skill.name }}</strong>
|
||||
|
||||
<div class="space-top labels">
|
||||
{% skill.keywords.forEach(function(kw) { %}
|
||||
<span class="label label-keyword">{{ kw }}</span>
|
||||
{% }); %}
|
||||
{% if( skill.keywords && skill.keywords.length ) { %}
|
||||
{% skill.keywords.forEach(function(kw) { %}
|
||||
<span class="label label-keyword">{{ kw }}</span>
|
||||
{% }); %}
|
||||
{% } %}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -60,9 +60,11 @@ engine: Underscore
|
||||
<strong>{{ skill.name }}</strong>
|
||||
|
||||
<div class="space-top labels">
|
||||
{% skill.keywords.forEach(function(kw) { %}
|
||||
<span class="label label-keyword">{{ kw }}</span>
|
||||
{% }); %}
|
||||
{% if( skill.keywords && skill.keywords.length ) { %}
|
||||
{% skill.keywords.forEach(function(kw) { %}
|
||||
<span class="label label-keyword">{{ kw }}</span>
|
||||
{% }); %}
|
||||
{% } %}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user