X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws.templates%2FRanking.handlebars;fp=src%2Fmkws.templates%2FRanking.handlebars;h=1c823bbc00f2bfab7472c39d8bbf84e301e10fa0;hb=2883bc9d2ba4d8f54280911b4f4e174594d1fde8;hp=0000000000000000000000000000000000000000;hpb=e6d7c4f45f1402aaaa786e69c69a4afef265450b;p=mkws-moved-to-github.git diff --git a/src/mkws.templates/Ranking.handlebars b/src/mkws.templates/Ranking.handlebars new file mode 100644 index 0000000..1c823bb --- /dev/null +++ b/src/mkws.templates/Ranking.handlebars @@ -0,0 +1,42 @@ +{{! +Ranking -- widget to select sort ordering and number of records to display + +team - team for this widget +showSort +showPerPage +sort + key - machine readable value for this sort option + label - text to display for this sort option + selected - exists if this sort is selected +perPage + perPage - a number of records per page that can be selected + selected - exists if this number is the current selection +}} +
+ {{~#if showSort~}} + {{{mkws-translate "Sort by"}}} + + {{~/if~}} + {{~#if showPerPage}} + {{{mkws-translate "and show"}}} + + {{{mkws-translate "per page"}}} + {{~/if~}} +
+