This commit is contained in:
Karel Pičman 2023-01-17 14:29:41 +01:00
parent 9b1f61fc9e
commit 1746cab0c6
5 changed files with 863 additions and 1 deletions

View File

@ -70,3 +70,9 @@
<%= l(:link_trash_bin) %>
</span>
<% end %>
<% lang = current_language.to_s.downcase %>
<% path = File.join(File.dirname(__FILE__), '..', '..', '..', 'assets', 'help', lang, 'wiki_syntax.html') %>
<% lang = 'en' unless File.exist?(path) %>
<% url = "/plugin_assets/redmine_dmsf/help/#{lang}/dmsf_help.html" %>
<%= link_to l(:label_help), 'dmsf_help.html', class: 'icon icon-help',
onclick: "window.open('#{url}','_blank', 'width=640,height=960'); return false;" %>

View File

@ -12,7 +12,7 @@
<p>DMS fügt die folgenden integrierten Makros hinzu:</p>
<dl>
<dt><b>Documente</b></dt>
<dt><b>Dokumente</b></dt>
<dd>
<p><code>{{dmsf(17)}}</code> - Link zum Dokument #17</p>
<p><code>{{dmsf(17, File)}}</code> - Link zum Dokument #17 mit dem Text "File"</p>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,70 @@
/*
* Redmine plugin for Document Management System "Features"
*
* Copyright © 2011 Vit Jonas <vit.jonas@gmail.com>
* Copyright © 2011-23 Karel Pičman <karel.picman@kontron.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
div#contents {
background-color: #F2F2F2;
}
div.box {
border: solid 1px #FDBF3B;
background-color: #FFEBC1;
padding-left: 12px;
padding-right: 12px;
margin-bottom: 12px;
max-width: 90%;
}
img {
max-width: 85%;
}
p {
text-align: justify;
text-justify: inter-word;
}
table {
border: 1px solid #58585A;
border-collapse:collapse;
}
table th {
background-color: #A1BBD0;
font-weight: bold;
border: 1px solid #58585A;
border-collapse:collapse;
}
table td {
background-color: #F2F2F2;
border: 1px solid #58585A;
border-collapse:collapse;
padding: 4px;
}
table td.table-nowrap-column {
white-space: nowrap;
}
ul.no-bullets {
list-style-type:none;
}

Binary file not shown.