homeland-wiki 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1a080891632677ec4ff8f22586b7de379135cfb600e3cd3a81b82b60d9fa779
4
- data.tar.gz: 84886ed59a8da4472e7076760b56885669f3f0992befbe630ddddf8aa75e00bc
3
+ metadata.gz: 2da9ff2a8e3ec387a613b8ec78364a461baaeb5d204fe9ad9e249347cbbcebd3
4
+ data.tar.gz: 5d8a7e25b479059014f870a9c885e5b5254206a8d00eca9bcd0ae205f4d57b5f
5
5
  SHA512:
6
- metadata.gz: 12f51ec3a5690418e0497d768c4c6df915a1d82f8240b81f63eb0c2dd468c199a7818e822f885a831451ebd22eaf7245f07fd92a9af93356b182a49f5eac12e1
7
- data.tar.gz: fa72b3fff5b49096097ac11a520380644ba332f4bf7264a37e5fe2a580cb4bdc2d8903843f4a2adc4414b6dd31f5e72cf6f26ce9da72c67763b12e8f4987bfe2
6
+ metadata.gz: 007d39006fc0c230231522ec15e395a8846f42033c7fce796f460997e06cd985d90bf7d7f5c6491aab64cd4be7cacb6f9000133c9f1d0b29762d18b16df15967
7
+ data.tar.gz: bee4f559db87847cb2e9f2d7578aadcc7cba24e11243586b044cccf86c7d7f26956c0f95fc8d82f7db33baec6c5443c0ad625cf86b2f80dc1f56b5ac494a4f43
@@ -1,4 +1,4 @@
1
- <div class="sidebar wiki-sidebar col-sm-3 hide-ios">
1
+ <div class="sidebar wiki-sidebar col-sm-3">
2
2
  <div class="card">
3
3
  <div class="card-body">
4
4
  <strong>导航</strong>
@@ -1,7 +1,9 @@
1
1
  <% title_tag [t('pages.comments'), @page.title].join(' · ') %>
2
2
 
3
3
  <div class="row">
4
- <%= render 'sidebar' %>
4
+ <span class="hide-ios">
5
+ <%= render 'sidebar' %>
6
+ </span>
5
7
 
6
8
  <div class="col-md-9">
7
9
  <div class="card">
@@ -3,13 +3,11 @@
3
3
  <div class="row">
4
4
  <%= render 'sidebar' %>
5
5
 
6
- <% if !turbolinks_app? %>
7
- <div class="col-md-9">
8
- <div class="card">
9
- <div class="card-body">
10
- <%= raw Setting.wiki_index_html %>
11
- </div>
6
+ <div class="col-md-9 hide-ios">
7
+ <div class="card">
8
+ <div class="card-body">
9
+ <%= raw Setting.wiki_index_html %>
12
10
  </div>
13
11
  </div>
14
- <% end %>
12
+ </div>
15
13
  </div>
@@ -1,11 +1,13 @@
1
1
  <% title_tag t('pages.wiki_index') %>
2
2
 
3
3
  <div class="row">
4
- <%= render 'sidebar' %>
4
+ <span class="hide-ios">
5
+ <%= render "sidebar" %>
6
+ </div>
5
7
 
6
8
  <div class="col-md-9">
7
9
  <div class="card">
8
- <div class="card-header hide-ios"><%= t('pages.wiki_index') %></div>
10
+ <div class="card-header hide-ios"><%= t("pages.wiki_index") %></div>
9
11
  <div class="card-body">
10
12
  <ul>
11
13
  <% @pages.each do |item| %>
@@ -1,7 +1,9 @@
1
1
  <% title_tag @page.title %>
2
2
 
3
3
  <div class="row">
4
- <%= render 'sidebar' %>
4
+ <span class="hide-ios">
5
+ <%= render 'sidebar' %>
6
+ </span>
5
7
 
6
8
  <div class="col-md-9 page-detail">
7
9
  <div class="card">
@@ -2,6 +2,6 @@ module Homeland
2
2
  module Wiki
3
3
  NAME = 'wiki'
4
4
  DESCRIPTION = 'Display Wiki channel in navbar for wike pages.'
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeland-wiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Griffin Qiu