Don't display the title if it's empty

master
jvoisin 6 years ago
parent 83882b18d9
commit ab1690b1fe
  1. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/home.jsp

@ -31,10 +31,12 @@
</script> </script>
</head> </head>
<body class="mainframe bgcolor1" onload="init();"> <body class="mainframe bgcolor1" onload="init();">
<c:if test="${not empty model.welcomeTitle}">
<h1> <h1>
<img src="<spring:theme code="homeImage"/>" alt=""> <img src="<spring:theme code="homeImage"/>" alt="">
<span style="vertical-align: middle">${model.welcomeTitle}</span> <span style="vertical-align: middle">${model.welcomeTitle}</span>
</h1> </h1>
</c:if>
<c:if test="${not empty model.welcomeSubtitle}"> <c:if test="${not empty model.welcomeSubtitle}">
<h2>${model.welcomeSubtitle}</h2> <h2>${model.welcomeSubtitle}</h2>

Loading…
Cancel
Save