Changed link text from "more" to "refresh" (more correct)

Also added refresh SVG icons to match the text.
master
Evan Harris 5 years ago
parent d17c00115a
commit 18e2fe6449
No known key found for this signature in database
GPG Key ID: FF3BD4DA59FF9EDC
  1. 1
      airsonic-main/src/main/resources/org/airsonic/player/theme/default_dark.properties
  2. 1
      airsonic-main/src/main/resources/org/airsonic/player/theme/default_light.properties
  3. 7
      airsonic-main/src/main/webapp/WEB-INF/jsp/homePager.jsp
  4. 1
      airsonic-main/src/main/webapp/icons/default_dark/refresh.svg
  5. 1
      airsonic-main/src/main/webapp/icons/default_light/refresh.svg

@ -39,6 +39,7 @@ randomImage = icons/default_dark/random.png
ratingHalfImage = icons/default_dark/ratingHalf.png
ratingOffImage = icons/default_dark/ratingOff.png
ratingOnImage = icons/default_dark/ratingOn.png
refreshImage = icons/default_dark/refresh.svg
removeImage = icons/default_dark/remove.png
repeatOff = icons/default_dark/repeat_off.svg
repeatOn = icons/default_dark/repeat_on.svg

@ -39,6 +39,7 @@ randomImage = icons/default_dark/random.png
ratingHalfImage = icons/default_light/ratingHalf.png
ratingOffImage = icons/default_light/ratingOff.svg
ratingOnImage = icons/default_light/ratingOn.svg
refreshImage = icons/default_light/refresh.svg
removeImage = icons/default_light/remove.svg
repeatOff = icons/default_light/repeat_off.svg
repeatOn = icons/default_light/repeat_on.svg

@ -13,7 +13,12 @@
</c:if>
<c:choose>
<c:when test="${model.listType eq 'random'}">
<td><div class="forward"><a href="home.view?listType=random"><fmt:message key="common.more"/></a></div></td>
<td style="padding-left: 2em;">
<a href="home.view?listType=random">
<img src="<spring:theme code="refreshImage"/>" alt="Refresh" style="height:16px;">
<fmt:message key="common.refresh"/>
</a>
</td>
</c:when>
<c:otherwise>
<sub:url value="home.view" var="previousUrl">

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#cdcdcd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-refresh-cw"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></svg>

After

Width:  |  Height:  |  Size: 395 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#696969" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-refresh-cw"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></svg>

After

Width:  |  Height:  |  Size: 395 B

Loading…
Cancel
Save