Skip to content

Commit

Permalink
Merge pull request #54 from transifex/small-testbed-change
Browse files Browse the repository at this point in the history
Handle PO file strings.
  • Loading branch information
kbairak committed May 30, 2016
2 parents d2cdb88 + 1eb03ad commit bca4d29
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion testbed/templates/main/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@
<div class="js-simple">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
<strong><%- string.key %>:</strong>
<%- string.strings[5] %>
<% for (var i=5; i>=0; i--) { %>
<% if (string.strings[i]) { %>
<%- string.strings[i] %>
<% break; %>
<% } %>
<% } %>
</div>
<div class="js-expanded hidden">
<table class="table-condensed">
Expand Down

0 comments on commit bca4d29

Please sign in to comment.