Index: lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== RCS file: /usr/local/cvsroot/lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties,v diff -u -r1.35 -r1.36 --- lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties 23 Apr 2015 22:42:43 -0000 1.35 +++ lams_tool_images/conf/language/lams/ApplicationResources_en_AU.properties 24 Apr 2015 15:19:36 -0000 1.36 @@ -170,7 +170,8 @@ label.rating.criterias =Rating criterias label.add.criteria =Add Criteria -label.number.of.votes =Your rating {0}, average rating {1}/{2} votes +label.your.rating =Your rating {0}, average rating {1}/{2} votes +label.average.rating =Average rating {0}/{1} votes label.rate.limits.reminder =Rating limitation: Minimum {0} and Maximum {1}. label.rate.limits.topic.reminder =You have rated {0} images already. Index: lams_tool_images/web/WEB-INF/tags/Rating.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_images/web/WEB-INF/tags/Rating.tag,v diff -u -r1.3 -r1.4 --- lams_tool_images/web/WEB-INF/tags/Rating.tag 23 Apr 2015 22:42:42 -0000 1.3 +++ lams_tool_images/web/WEB-INF/tags/Rating.tag 24 Apr 2015 15:19:36 -0000 1.4 @@ -17,17 +17,22 @@ <%-- Optional attribute --%> <%@ attribute name="disabled" required="false" rtexprvalue="true" %> +<%@ attribute name="isItemAuthoredByUser" required="false" rtexprvalue="true" %> <%@ attribute name="maxRates" required="false" rtexprvalue="true" %> <%@ attribute name="minRates" required="false" rtexprvalue="true" %> <%@ attribute name="countRatedImages" required="false" rtexprvalue="true" %> -<%@ attribute name="numberVotesLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="yourRatingLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="averageRatingLabel" required="false" rtexprvalue="true" %> <%@ attribute name="byLabel" required="false" rtexprvalue="true" %> <%@ attribute name="instructorLabel" required="false" rtexprvalue="true" %> <%-- Default value for message key --%> + + + @@ -37,9 +42,12 @@ - - + + + + + @@ -61,6 +69,7 @@ var pathToImageFolder = "${lams}images/css/"; +