Skip to content
This repository
Browse code

added a Document View button to the main menu bar

  • Loading branch information...
commit b3dcb63fe2754482830dce6944523375c699c51a 1 parent bcce43b
Daisuke Morita authored March 30, 2013

Showing 1 changed file with 9 additions and 1 deletion. Show diff stats Hide diff stats

  1. 10  src/main/webapp/macro/menu.vm
10  src/main/webapp/macro/menu.vm
@@ -23,7 +23,15 @@
23 23
 
24 24
 <table class="nowrap-frame" border="0" style="position: absolute; top: 5px; right: 0px;">
25 25
 <tr>
26  
-	## Keyword Search		
  26
+  ## Document View
  27
+  <td class="document-view" nowrap="nowrap">
  28
+    <a class="tool-button" href="$resources.docViewPath()" 
  29
+      title="$messages.get("open-as-document")" target="_blank">
  30
+    <img src="$context/images/document.png" border="0" alt="$messages.get("document")"/></a>
  31
+  </td>
  32
+  
  33
+  ## Keyword Search
  34
+  <td class="separator"></td>
27 35
   <td class="keyword-search" nowrap="nowrap">
28 36
     <form id="search-form" action="$context/search.htm" method="get">
29 37
       <input id="searchForm_keywords" type="text" name="keywords" value="$keywords"/><a 

0 notes on commit b3dcb63

Please sign in to comment.
Something went wrong with that request. Please try again.