Created
December 9, 2011 00:30
-
-
Save vybs/1449461 to your computer and use it in GitHub Desktop.
simple skills list dust template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{#profile_skill} | |
<div class="section" id="profile-skills" style="display:block"> | |
<div class="header"> | |
<h2>{@pre:i18n text="Skills"}</h2> | |
</div> | |
{?skills} {! we still want to display the Skills heading, even if the number of skills is zero !} | |
<div class="content"> | |
<ol class="skills" id="skills-list"> | |
{#skills} | |
<li class="competency show-bean"> | |
<span class="miniprofile-container jellybean">{.name}</span> | |
</li> | |
{/skills} | |
</ol> | |
</div> | |
{/skills} | |
</div> | |
{/profile_skill} | |
"profile_skill": { | |
"skills": [{ | |
"name": "JavaScript" | |
}, { | |
"name": "Ruby" | |
}, { | |
"name": "Java" | |
}], | |
"i18n_skills": "Skills" // when rendered with current locale en_US | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vybs How has the progress been for UI composition with DustJS? Still evaluating things on our end. The main thing I am trying to solve is UI composition in a microservices environment. Currently everything is based on Java/Spring.