Add version to CSS URLs so browsers refetch after upgrades
This commit is contained in:
@ -44,7 +44,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="themes/${jspHelperBean.configuration.theme}/i2pbote.css" />
|
||||
<link rel="stylesheet" href="themes/${jspHelperBean.configuration.theme}/i2pbote.css?v=${jspHelperBean.appVersion}" />
|
||||
|
||||
<%-- Refresh until the Check Mail button becomes ungreyed --%>
|
||||
<c:if test="${checkingForMail or connStatus eq NOT_STARTED or connStatus eq DELAY}">
|
||||
|
@ -33,7 +33,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="${themeDir}/i2pbote.css" />
|
||||
<link rel="stylesheet" href="${themeDir}/i2pbote.css?v=${jspHelperBean.appVersion}" />
|
||||
<c:set var="refreshInterval" value="120"/>
|
||||
<c:if test="${ib:getMailFolder('Outbox').numElements gt 0}">
|
||||
<c:set var="refreshInterval" value="20"/>
|
||||
@ -52,4 +52,4 @@
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -57,7 +57,7 @@
|
||||
<meta http-equiv="refresh" content="${refreshInterval};url=${refreshUrl}" />
|
||||
</c:if>
|
||||
|
||||
<link rel="stylesheet" href="themes/${jspHelperBean.configuration.theme}/i2pbote.css" />
|
||||
<link rel="stylesheet" href="themes/${jspHelperBean.configuration.theme}/i2pbote.css?v=${jspHelperBean.appVersion}" />
|
||||
<link rel="icon" type="image/png" href="${themeDir}/images/favicon.png" />
|
||||
<c:if test="${!empty title}">
|
||||
<title>${title} <ib:message key="- I2P-Bote"/></title>
|
||||
@ -169,4 +169,4 @@
|
||||
</c:if>
|
||||
</c:if>
|
||||
</div></div>
|
||||
</c:if>
|
||||
</c:if>
|
||||
|
@ -34,7 +34,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="themes/${jspHelperBean.configuration.theme}/i2pbote.css" />
|
||||
<link rel="stylesheet" href="themes/${jspHelperBean.configuration.theme}/i2pbote.css?v=${jspHelperBean.appVersion}" />
|
||||
<c:if test="${connStatus ne CONNECTED and connStatus ne ERROR}">
|
||||
<meta http-equiv="refresh" content="20" />
|
||||
</c:if>
|
||||
|
Reference in New Issue
Block a user