mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 16:20:11 +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) { %}
|
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 25%;">{{ skill.name }}</td>
|
<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>
|
</tr>
|
||||||
{% }); %}
|
{% }); %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
{% r.skills.forEach( function( skill, idx, ar) { %}
|
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 25%;">{{ skill.name }}</td>
|
<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>
|
</tr>
|
||||||
{% }); %}
|
{% }); %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
{% r.skills.forEach( function( skill, idx, ar) { %}
|
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 25%;">{{ skill.name }}</td>
|
<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>
|
</tr>
|
||||||
{% }); %}
|
{% }); %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
{% r.skills.forEach( function( skill, idx, ar) { %}
|
{% r.skills.forEach( function( skill, idx, ar) { %}
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width: 25%;">{{ skill.name }}</td>
|
<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>
|
</tr>
|
||||||
{% }); %}
|
{% }); %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -64,9 +64,11 @@ engine: Underscore
|
|||||||
<strong>{{ skill.name }}</strong>
|
<strong>{{ skill.name }}</strong>
|
||||||
|
|
||||||
<div class="space-top labels">
|
<div class="space-top labels">
|
||||||
{% skill.keywords.forEach(function(kw) { %}
|
{% if( skill.keywords && skill.keywords.length ) { %}
|
||||||
<span class="label label-keyword">{{ kw }}</span>
|
{% skill.keywords.forEach(function(kw) { %}
|
||||||
{% }); %}
|
<span class="label label-keyword">{{ kw }}</span>
|
||||||
|
{% }); %}
|
||||||
|
{% } %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -60,9 +60,11 @@ engine: Underscore
|
|||||||
<strong>{{ skill.name }}</strong>
|
<strong>{{ skill.name }}</strong>
|
||||||
|
|
||||||
<div class="space-top labels">
|
<div class="space-top labels">
|
||||||
{% skill.keywords.forEach(function(kw) { %}
|
{% if( skill.keywords && skill.keywords.length ) { %}
|
||||||
<span class="label label-keyword">{{ kw }}</span>
|
{% skill.keywords.forEach(function(kw) { %}
|
||||||
{% }); %}
|
<span class="label label-keyword">{{ kw }}</span>
|
||||||
|
{% }); %}
|
||||||
|
{% } %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user