Author: tchemit Date: 2012-09-19 12:07:17 +0200 (Wed, 19 Sep 2012) New Revision: 3694 Url: http://chorem.org/repositories/revision/pollen/3694 Log: remove commented code Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/result.jsp trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/result.jsp =================================================================== --- trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/result.jsp 2012-09-19 10:07:02 UTC (rev 3693) +++ trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/result.jsp 2012-09-19 10:07:17 UTC (rev 3694) @@ -71,52 +71,16 @@ <h1 class="titleVoteCounting"><s:property value="poll.title"/></h1> -<!-- Informations sur le sondage --> +<%-- Informations sur le sondage --%> <s:set name="showVoteUrl" value="true"/> <s:set name="showResultUrl" value="false"/> <%@include file="pollInformation.jsp" %> -<%--<div id="resultTop">--%> - <%--<div style="white-space:pre-wrap; text-align: start;">--%> - <%--<s:property value="poll.description"/>--%> - <%--</div>--%> - <%--<fieldset>--%> - <%--<legend><s:text name="pollen.common.aboutPoll"/></legend>--%> - <%--<div style="float: right">--%> - <%--<s:if test="creatorOrAdmin">--%> - <%--<s:a href="%{summaryUrl}">--%> - <%--<img src="<s:url value='/img/editSmall.png'/>"--%> - <%--title="<s:text name='pollen.action.summaryPoll'/>"--%> - <%--alt="<s:text name='pollen.action.summaryPoll'/>"/>--%> - <%--</s:a>--%> - <%--</s:if>--%> - <%--<s:a href='%{voteUrl}'>--%> - <%--<img src="<s:url value='/img/vote.png'/>"--%> - <%--title="<s:text name="pollen.common.vote.return-help"/>"--%> - <%--alt="<s:text name="pollen.common.vote.return"/>"/>--%> - <%--</s:a>--%> - <%--<s:if test="feedFileExisting">--%> - <%--<s:a namespace="/poll" action="getFeed">--%> - <%--<s:param name="pollId" value="poll.pollId"/>--%> - <%--<img src="<s:url value='/img/feed.png'/>" title="Atom" alt="Atom"/>--%> - <%--</s:a>--%> - <%--</s:if>--%> - <%--</div>--%> - <%--<s:label value="%{pollCreatorName}" key='pollen.common.pollCreator'/>--%> - <%--<s:label value="%{pollBeginDate}" key='pollen.common.beginDate'/>--%> - <%--<s:label value="%{pollEndDate}" key='pollen.common.endDate'/>--%> - <%--<s:label value="%{voteCountingTypeName}"--%> - <%--key='pollen.common.voteCountingType'--%> - <%--tooltip="%{voteCountingTypeHelp}"--%> - <%--tooltipIconPath="/img/tooltip.png"/>--%> - <%--</fieldset>--%> -<%--</div>--%> - <h4> <s:property value="%{voteSizeMessage}"/> </h4> -<!-- Victoire --> +<%-- Victoire --%> <s:if test="victoryMessage != ''"> <h4><s:property value="victoryMessage"/> <br/> @@ -191,19 +155,19 @@ <img id='chart_normal'/> </sj:div> - <!-- Diagramme par choix --> - <s:if test="choicesResults != null"> - <div id="resultChart"> - <div> - <s:iterator value="choicesResultNames" var="choicesResultName" - status="status"> - <img id='chart_<s:property value="#status.index"/>' - alt="<s:property/>" title="<s:property/>" - src="<s:property value='%{getChoicesResultCharUrl(400,300, #choicesResultName)}'/>"> - </s:iterator> - </div> - </div> - </s:if> + <%-- Diagramme par choix --%> + <%--<s:if test="choicesResults != null">--%> + <%--<div id="resultChart">--%> + <%--<div>--%> + <%--<s:iterator value="choicesResultNames" var="choicesResultName"--%> + <%--status="status">--%> + <%--<img id='chart_<s:property value="#status.index"/>'--%> + <%--alt="<s:property/>" title="<s:property/>"--%> + <%--src="<s:property value='%{getChoicesResultCharUrl(400,300, #choicesResultName)}'/>">--%> + <%--</s:iterator>--%> + <%--</div>--%> + <%--</div>--%> + <%--</s:if>--%> </div> <!-- Classement --> <%--<t:remove>--%> Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp =================================================================== --- trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp 2012-09-19 10:07:02 UTC (rev 3693) +++ trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp 2012-09-19 10:07:17 UTC (rev 3694) @@ -119,48 +119,6 @@ <s:set name="showResultUrl" value="true"/> <%@include file="pollInformation.jsp" %> -<%--<div id="pollTop">--%> - <%--<div style="white-space:pre-wrap; text-align: start;">--%> - <%--<s:property value="poll.description"/>--%> - <%--</div>--%> - <%--<fieldset>--%> - <%--<legend><s:text name="pollen.common.aboutPoll"/></legend>--%> - <%--<div style="float: right">--%> - <%--<s:if test="creatorOrAdmin">--%> - <%--<s:a href="%{summaryUrl}">--%> - <%--<img src="<s:url value='/img/editSmall.png'/>"--%> - <%--title="<s:text name='pollen.action.summaryPoll'/>"--%> - <%--alt="<s:text name='pollen.action.summaryPoll'/>"/>--%> - <%--</s:a>--%> - <%--</s:if>--%> - <%--<s:if test="resultAllowed">--%> - <%--<s:a href="%{resultUrl}">--%> - <%--<img src="<s:url value='/img/count.png'/>"--%> - <%--title="<s:text name='pollen.common.vote.results-help'/>"--%> - <%--alt="<s:text name='pollen.common.vote.results'/>"/>--%> - <%--</s:a>--%> - <%--</s:if>--%> - <%--<s:if test="feedFileExisting">--%> - <%--<s:a namespace="/poll" action="getFeed">--%> - <%--<s:param name="pollId" value="poll.pollId"/>--%> - <%--<img src="<s:url value='/img/feed.png'/>" title="Atom" alt="Atom"/>--%> - <%--</s:a>--%> - <%--</s:if>--%> - <%--</div>--%> - <%--<s:label value="%{pollCreatorName}" key='pollen.common.pollCreator'/>--%> - <%--<s:label value="%{pollBeginDate}" key='pollen.common.beginDate'/>--%> - <%--<s:label value="%{pollEndDate}" key='pollen.common.endDate'/>--%> - <%--<s:label value="%{voteCountingTypeName}"--%> - <%--key='pollen.common.voteCountingType'--%> - <%--tooltip="%{voteCountingTypeHelp}"--%> - <%--tooltipIconPath="/img/tooltip.png"/>--%> - <%--<s:label value="%{pollVoteVisibilityName}"--%> - <%--key='pollen.common.pollVoteVisibility'--%> - <%--tooltip="%{pollVoteVisibilityHelp}"--%> - <%--tooltipIconPath="/img/tooltip.png"/>--%> - <%--</fieldset>--%> -<%--</div>--%> - <div id="pollZone"> <s:if test="pollChoiceOrVoteStarted">