Skip to content

Commit 2a2d1e3

Browse files
author
Vladimir Kotal
authored
do not highlight path in masthead when Message is in effect (#3134)
fixes #3133
1 parent 96f96d0 commit 2a2d1e3

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

opengrok-web/src/main/webapp/mast.jsp

+5-9
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ information: Portions Copyright [yyyy] [name of copyright owner]
1818
1919
CDDL HEADER END
2020
21-
Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
21+
Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
2222
Portions Copyright 2011 Jens Elkner.
2323
Portions Copyright (c) 2018, Chris Fraire <[email protected]>.
2424
@@ -97,14 +97,11 @@ include file="pageheader.jspf"
9797
MessagesContainer.MESSAGES_MAIN_PAGE_TAG);
9898
}
9999
%>
100-
<% if (!messages.isEmpty()) { %>
101-
<span class="note-<%= MessagesUtils.getMessageLevel(cfg.getProject().getName(), MessagesContainer.MESSAGES_MAIN_PAGE_TAG) %> important-note">
102-
<% } %>
103-
<a href="<%= context + Prefix.XREF_P %>/">xref</a>: <%= Util
104-
.breadcrumbPath(context + Prefix.XREF_P, path,'/',"",true,cfg.isDir()) %>
105-
<% if (rev.length() != 0) { %>
100+
<a href="<%= context + Prefix.XREF_P %>/">xref</a>:
101+
<%= Util.breadcrumbPath(context + Prefix.XREF_P, path,'/',"",true,cfg.isDir()) %>
102+
<% if (rev.length() != 0) { %>
106103
(revision <%= Util.htmlize(rev) %>)
107-
<% } %>
104+
<% } %>
108105
<span id="dtag">
109106
<%
110107
String dtag = cfg.getDefineTagsIndex();
@@ -113,7 +110,6 @@ include file="pageheader.jspf"
113110
}
114111
%></span>
115112
<% if (!messages.isEmpty()) { %>
116-
</span>
117113
<span class="note-<%= MessagesUtils.getMessageLevel(cfg.getProject().getName(), MessagesContainer.MESSAGES_MAIN_PAGE_TAG) %> important-note important-note-rounded"
118114
data-messages='<%= messages %>'>!</span>
119115
<% }

0 commit comments

Comments
 (0)