aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-08-27 10:00:50 +0200
committerMario <mario@mariovavti.com>2018-08-27 10:00:50 +0200
commit95f870f1b41ff243a03617b368c8606354de8273 (patch)
tree60abd431a446eafec85eaeda5df45debfc101b97 /view
parentc250de7dae3890880568e5df749a089f8cebc909 (diff)
parentf5f6ec3d71acb3e0488386819d5060e59331ec23 (diff)
downloadvolse-hubzilla-95f870f1b41ff243a03617b368c8606354de8273.tar.gz
volse-hubzilla-95f870f1b41ff243a03617b368c8606354de8273.tar.bz2
volse-hubzilla-95f870f1b41ff243a03617b368c8606354de8273.zip
Merge branch 'dev' into 'dev'
Add translation to missed strings in Wiki See merge request hubzilla/core!1264
Diffstat (limited to 'view')
-rw-r--r--view/tpl/nwiki_page_history.tpl14
-rw-r--r--view/tpl/wiki.tpl4
2 files changed, 9 insertions, 9 deletions
diff --git a/view/tpl/nwiki_page_history.tpl b/view/tpl/nwiki_page_history.tpl
index b1c6c9284..6926cca2d 100644
--- a/view/tpl/nwiki_page_history.tpl
+++ b/view/tpl/nwiki_page_history.tpl
@@ -43,17 +43,17 @@
{{foreach $pageHistory as $commit}}
<tr class="wikis-index-row"><td>
<table id="rev-{{$commit.revision}}" onclick="$('#details-{{$commit.revision}}').show()" style="width: 100%;">
- <tr><td width="10%">Date</td><td width="70%">{{$commit.date}}</td>
+ <tr><td width="10%">{{$date_lbl}}</td><td width="70%">{{$commit.date}}</td>
<td rowspan="3" width="20%" align="right">
- {{if $permsWrite}}
- <button id="revert-{{$commit.revision}}" class="btn btn-danger btn-sm" onclick="wiki_revert_page('{{$commit.revision}}')">Revert</button>
+ {{if $permsWrite}}
+ <button id="revert-{{$commit.revision}}" class="btn btn-danger btn-sm" onclick="wiki_revert_page('{{$commit.revision}}')">{{$revert_btn}}</button>
<br><br>
- {{/if}}
- <button id="compare-{{$commit.revision}}" class="btn btn-warning btn-sm" onclick="wiki_compare_page('{{$commit.revision}}')">Compare</button>
+ {{/if}}
+ <button id="compare-{{$commit.revision}}" class="btn btn-warning btn-sm" onclick="wiki_compare_page('{{$commit.revision}}')">{{$compare_btn}}</button>
</td></tr>
<tr><td>{{$name_lbl}}</td><td>{{$commit.name}}</td></tr>
<tr><td>{{$msg_label}}</td><td>{{$commit.title}}</td></tr>
</table>
</td></tr>
- {{/foreach}}
-</table>
+ {{/foreach}}
+</table> \ No newline at end of file
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index 6ca4b0c77..0f725749f 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -42,8 +42,8 @@
<div id="wiki-content-container" class="section-content-wrapper">
<ul class="nav nav-tabs" id="wiki-nav-tabs">
<li class="nav-item" id="edit-pane-tab"><a class="nav-link" data-toggle="tab" href="#edit-pane">{{$editOrSourceLabel}}</a></li>
- <li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#preview-pane" id="wiki-get-preview">View</a></li>
- <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#page-history-pane" id="wiki-get-history">History</a></li>
+ <li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#preview-pane" id="wiki-get-preview">{{$view_lbl}}</a></li>
+ <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#page-history-pane" id="wiki-get-history">{{$history_lbl}}</a></li>
</ul>
<div class="tab-content" id="wiki-page-tabs">
<div id="edit-pane" class="tab-pane">