Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added a Document View button to the main menu bar

  • Loading branch information...
commit b3dcb63fe2754482830dce6944523375c699c51a 1 parent bcce43b
@marubinotto authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/main/webapp/macro/menu.vm
View
10 src/main/webapp/macro/menu.vm
@@ -23,7 +23,15 @@
<table class="nowrap-frame" border="0" style="position: absolute; top: 5px; right: 0px;">
<tr>
- ## Keyword Search
+ ## Document View
+ <td class="document-view" nowrap="nowrap">
+ <a class="tool-button" href="$resources.docViewPath()"
+ title="$messages.get("open-as-document")" target="_blank">
+ <img src="$context/images/document.png" border="0" alt="$messages.get("document")"/></a>
+ </td>
+
+ ## Keyword Search
+ <td class="separator"></td>
<td class="keyword-search" nowrap="nowrap">
<form id="search-form" action="$context/search.htm" method="get">
<input id="searchForm_keywords" type="text" name="keywords" value="$keywords"/><a
Please sign in to comment.
Something went wrong with that request. Please try again.