Skip to content

Commit

Permalink
kanbantask #473311
Browse files Browse the repository at this point in the history
  • Loading branch information
manuSanchez committed Jan 26, 2018
1 parent 1ee946f commit 31200d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ public String signsInFavorite(@PathVariable long favoriteId, @RequestParam("isSe
return "signs";
}


//fix me !!!!! kanban 473311 suite retour tests utilisateurs
// item supprime ihm
@RequestMapping(value = "/sec/signs/mostcommented")
public String signsMostCommented(@RequestParam("isMostCommented") boolean isMostCommented, @RequestParam("isSearch") boolean isSearch, Principal principal, Model model) {
User user = services.user().withUserName(principal.getName());
Expand Down Expand Up @@ -343,6 +344,8 @@ public String signsMostRating(@RequestParam("isMostRating") boolean isMostRating
return "signs";
}

//fix me !!!!! kanban 473311 suite retour tests utilisateurs
// item supprime ihm
@RequestMapping(value = "/sec/signs/mostviewed")
public String signsMostViewed(@RequestParam("isMostViewed") boolean isMostViewed, @RequestParam("isSearch") boolean isSearch, Principal principal, Model model) {
User user = services.user().withUserName(principal.getName());
Expand Down
28 changes: 0 additions & 28 deletions app/src/main/resources/templates/fragments/header-signs.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,6 @@ <h1 class="hidden-xs navbar_title pull-left" />
<span th:text="#{most_recent}"></span>
</a>
</li>
<li>
<a th:if="${isMostCommented}" class="checked_up" th:href="@{/sec/signs/mostcommented(isMostCommented=${isMostCommented}, isSearch=${isSearch})}">
<div class="pull-left most_active"></div>
<span th:text="#{most_commented}"></span>
</a>
<a th:if="${!isMostCommented and !isLowCommented}" th:href="@{/sec/signs/mostcommented(isMostCommented=${isMostCommented}, isSearch=${isSearch})}">
<div class="pull-left most_active"></div>
<span th:text="#{most_commented}"></span>
</a>
<a th:if="${isLowCommented}" class="checked_down" th:href="@{/sec/signs/mostcommented(isMostCommented=${isMostCommented}, isSearch=${isSearch})}">
<div class="pull-left most_active"></div>
<span th:text="#{most_commented}"></span>
</a>
</li>
<li>
<a th:if="${isMostRating}" class="checked_up" th:href="@{/sec/signs/mostrating(isMostRating=${isMostRating}, isSearch=${isSearch})}">
<div class="pull-left sentiment_positif"></div>
Expand All @@ -108,20 +94,6 @@ <h1 class="hidden-xs navbar_title pull-left" />
</a>
</li>

<li>
<a th:if="${isMostViewed}" class="checked_up" th:href="@{/sec/signs/mostviewed(isMostViewed=${isMostViewed}, isSearch=${isSearch})}">
<div class="pull-left most_viewed"></div>
<span th:text="#{most_viewed}"></span>
</a>
<a th:if="${!isMostViewed and !isLowViewed}" th:href="@{/sec/signs/mostviewed(isMostViewed=${isMostViewed}, isSearch=${isSearch})}">
<div class="pull-left most_viewed"></div>
<span th:text="#{most_viewed}"></span>
</a>
<a th:if="${isLowViewed}" class="checked_down" th:href="@{/sec/signs/mostviewed(isMostViewed=${isMostViewed}, isSearch=${isSearch})}">
<div class="pull-left most_viewed"></div>
<span th:text="#{most_viewed}"></span>
</a>
</li>

<li th:each="favorite :${myFavorites}" >
<a th:if="${favoriteId} == ${favorite.id}" class="check_signe" th:href="@{/sec/signs/{id}(id=${favorite.id}, isSearch=${isSearch})}">
Expand Down

0 comments on commit 31200d6

Please sign in to comment.