Skip to content

Commit

Permalink
Localizations for supplier actions. Partially addresses #59
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrichmynarz committed Sep 8, 2014
1 parent 81784ca commit 668cfc3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ menu.tenders.withdrawncalls=Tenders for withdrawn calls
nonawarded.help=On this screen, you can see your tenders submitted to calls for tenders awarded to somebody else.
nonawarded.title=Non-awarded tenders
prepared.delete.confirm=Do you really want to delete this tender?
prepared.delete=Delete
prepared.edit=Edit
prepared.help=On this screen, you can see your prepared tenders. You can delete the tender or submit it. When you submit the tender, the buyer can reject it, award it or ignore the tender.
prepared.submit.confirm=Do you really want to submit this tender?
prepared.submit=Submit
prepared.title=Prepared tenders
profile.help=On this screen you can see your profile. You can edit your information. You can also add documents to your profile, such as certifications or financial statements.
rejected.help=On this screen, you can see your tenders rejected by buyers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ menu.tenders.withdrawncalls=Nabídky pro stažené výzvy
nonawarded.help=Zde vidíte své neúspěšné nabídky do výběrových řízení.
nonawarded.title=Prohrané nabídky
prepared.delete.confirm=Opravdu si přejete smazat tuto nabídku?
prepared.delete=Smazat
prepared.edit=Upravit
prepared.help=Zde vidíte své připravované nabídky. Nabídku můžete podat nebo smazat. Poté, co nabídku podáte, může ji zadavatel přijmout nebo zamítnout.
prepared.submit.confirm=Opravdu si přejete podat tuto nabídku?
prepared.submit=Odeslat
prepared.title=Připravované nabídky
profile.help=Zde vidíte svůj profil. Můžete upravovat své informace. Na svůj profil můžete také nahrát různé druhy dokumentů, například účetních nebo certifikačních.
rejected.help=Zde vidíte své nabídky zamítnuté zadavatelem.
Expand Down
11 changes: 3 additions & 8 deletions src/main/webapp/buyer-dashboard.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@
</div>
<div id="showAllPages" class="hide pagination pull-right" style="margin: 0; margin-top: -16px;">
<ul>
<li><a
onclick="$('.3dots').remove();
<li><a onclick="$('.3dots').remove();
$('#pages li').removeClass('reallyhide');
$('#showAllPages').remove();
"
href="#"><fmt:message key="showallpages" bundle="${cons}" /></a></li>
$('#showAllPages').remove();"
href="#"><fmt:message key="showallpages" bundle="${cons}" /></a></li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -130,13 +128,10 @@
jQuery("abbr.timeago").timeago();
$('#activityTable').fadeIn('slow');
}
$(window).ready(function() {
loadPage(true);
});
$('a').tooltip();
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/supplier-for-cancelled.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>

<%@include file="WEB-INF/jspf/footer.jspf" %>
<script src="js/cpv-codes-<c:out value="${pageContext.request.locale.language}" />.js"></script>
<script src="js/cpv-codes-<c:out value="${pageContext.request.locale.language}" />.js"></script>
<script src="js/sessionstorage.1.4.js"></script>
<script src="js/functions.js"></script>
<script src="js/date.format.js"></script>
Expand Down
8 changes: 3 additions & 5 deletions src/main/webapp/supplier-prepared.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -133,32 +133,30 @@
newSubmit.click(function() {
return confirm('<fmt:message key="prepared.submit.confirm" />');
});
newSubmit.append('submit').appendTo(newActions);
newSubmit.append('<fmt:message key="prepared.submit" />').appendTo(newActions);
// Edit
newEdit = $('<a>');
newEdit.attr('href', 'supplier-edit-tender.jsp');
newEdit.click(function() {
editTender(encodeURIComponent(data.tenderURI), encodeURIComponent(data.title));
});
newEdit.append('edit').appendTo(newActions);
newEdit.append('<fmt:message key="prepared.edit" />').appendTo(newActions);
// Delete
newPublish = $('<a>');
newPublish.attr('href', 'PCFilingApp?action=deletePrivateTender&forward=supplier-prepared.jsp&tenderURL=' + encodeURIComponent(data.tenderURI));
newPublish.click(function() {
return confirm('<fmt:message key="prepared.delete.confirm" />');
});
newPublish.append('delete').appendTo(newActions);
newPublish.append('<fmt:message key="prepared.delete" />').appendTo(newActions);
newActions.children('a').addClass('btn');
newRow.append($('<td>').append(newActions));
newRow.appendTo("#contractTable");
}
);
}
$(window).ready(function() {
Expand Down

0 comments on commit 668cfc3

Please sign in to comment.