diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2019-04-24 14:55:19 +0200 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2019-04-24 14:55:19 +0200 |
| commit | 19ef614567a6b97e366e599bb051b0dabba00e22 (patch) | |
| tree | 0b545e8d428556a26f14c10655ff99ccf390e26d /_includes/git-wiki/components | |
| parent | 352cd1e503dc16ec5b2c35eb734c4c903736ac45 (diff) | |
| parent | 35c737fc1436470b5e62f9f5cd6bb1d6878dfc6c (diff) | |
| download | wiki-19ef614567a6b97e366e599bb051b0dabba00e22.tar.gz wiki-19ef614567a6b97e366e599bb051b0dabba00e22.tar.bz2 wiki-19ef614567a6b97e366e599bb051b0dabba00e22.zip | |
Merge branch 'master' of https://gitlab.com/drassil/git-wiki/
Diffstat (limited to '_includes/git-wiki/components')
| -rw-r--r-- | _includes/git-wiki/components/action_btn/page_actions.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/_includes/git-wiki/components/action_btn/page_actions.html b/_includes/git-wiki/components/action_btn/page_actions.html index 03f1d85..097dc51 100644 --- a/_includes/git-wiki/components/action_btn/page_actions.html +++ b/_includes/git-wiki/components/action_btn/page_actions.html @@ -8,14 +8,18 @@ <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/new/{{site.git_branch}}?filename={{ site.wiki_folder | default: 'wiki' }}/">Add new</a></span> <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/edit/{{site.git_branch}}/{{page.path}}">Edit</a></span> + {% if site.service == "gitlab" %} + <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/blob/{{site.git_branch}}/{{page.path}}">Delete</a></span> + {% else %} <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/delete/{{site.git_branch}}/{{page.path}}">Delete</a></span> + {% endif %} <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/commits/{{site.git_branch}}/{{page.path}}">History</a></span> <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/blob/{{site.git_branch}}/{{page.path}}">Source</a></span> {% if site.blog_feature %} <span class="tools-element"><a target="_blank" href="{{ site.github.repository_url }}/new/{{site.git_branch}}?filename=_posts/">Add new post</a></span> {% endif %} - {% if site.use_prose_io %} + {% if site.use_prose_io and site.service == "github" %} <br> Prose.io: <span class="tools-element"><a target="_blank" href="http://prose.io/#{{site.github.repository_nwo}}/new/{{site.git_branch}}/{{ site.wiki_folder | default: 'wiki' }}">Add |
