Remove the About Tab

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Remove the About Tab

Postby jgraythe4th » Tue Jan 12, 2016 8:14 am

Can you remove the About tab, or at least delete the Log from the About tab. I don't like my users looking at the log and seeing what other users are doing.
jgraythe4th
 
Posts: 12
Joined: Fri May 30, 2014 1:17 am

Re: Remove the About Tab

Postby Sarcastro » Tue Oct 31, 2017 1:41 pm

I'm pretty late on this, but if you edit the help.jsp file (located in Subsonic's /WEB-INF/jsp/ folder) with a text editor, you can insert the following bold lines only to it so that the About page won't display Log information to anyone who isn't signed in as an administrator:


<c:if test="${model.user.adminRole}">
<h2 style="padding-top:1em"><i class="fa fa-list fa-lg icon"></i>&nbsp;&nbsp;<fmt:message key="help.log"/></h2>

<table cellpadding="2" class="log indent">
<c:forEach items="${model.logEntries}" var="entry">
<tr>
<td>[<fmt:formatDate value="${entry.date}" dateStyle="short" timeStyle="long" type="both"/>]</td>
<td>${entry.level}</td><td>${entry.category}</td><td>${fn:escapeXml(entry.message)}</td>
</tr>
</c:forEach>
</table>

<p><fmt:message key="help.logfile"><fmt:param value="${model.logFile}"/></fmt:message> </p>

</c:if>


Cheers, and Happy Halloween! :twisted:
User avatar
Sarcastro
 
Posts: 1
Joined: Mon Oct 30, 2017 11:39 am

Re: Remove the About Tab

Postby Tak-MK » Tue Oct 31, 2017 3:26 pm

+1 ! Or maybe move the log to another tab like in madsonic, and restrict it only to Administrators. :D
User avatar
Tak-MK
 
Posts: 107
Joined: Thu Dec 22, 2016 3:27 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests