mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 00:27:11 +02:00
Add icon to "Open in full view" link on PDF preview (#22483).
git-svn-id: https://svn.redmine.org/redmine/trunk@24588 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -335,6 +335,12 @@
|
||||
<path d="M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"/>
|
||||
<path d="M8 11v-4a4 4 0 1 1 8 0v4"/>
|
||||
</symbol>
|
||||
<symbol viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="icon--maximize">
|
||||
<path d="M4 8v-2a2 2 0 0 1 2 -2h2"/>
|
||||
<path d="M4 16v2a2 2 0 0 0 2 2h2"/>
|
||||
<path d="M16 4h2a2 2 0 0 1 2 2v2"/>
|
||||
<path d="M16 20h2a2 2 0 0 0 2 -2v-2"/>
|
||||
</symbol>
|
||||
<symbol viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="icon--message">
|
||||
<path d="M8 9h8"/>
|
||||
<path d="M8 13h6"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
@@ -1,5 +1,5 @@
|
||||
<p class="pdf-full-view-link">
|
||||
<%= link_to l(:label_open_in_full_view, :default => l(:button_download)), path %>
|
||||
<%= link_to sprite_icon('maximize', l(:label_open_in_full_view)), path, :class => 'icon icon-maximize' %>
|
||||
</p>
|
||||
<div class="filecontent pdf">
|
||||
<object data="<%= path %>" type="application/pdf">
|
||||
|
||||
@@ -256,3 +256,5 @@
|
||||
svg: file-type-xls
|
||||
- name: file-type-ppt
|
||||
svg: file-type-ppt
|
||||
- name: maximize
|
||||
svg: maximize
|
||||
|
||||
Reference in New Issue
Block a user