-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update _sidebar.html.erb for tab display (#2134)
* Update _sidebar.html.erb * Update I18n_test.rb
- Loading branch information
Showing
2 changed files
with
4 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,5 @@ | ||
<br /> | ||
<br /> | ||
|
||
<ul class="nav nav-tabs"> | ||
<li class="active"> | ||
<a class="wikis-tab" href="#wiki" data-toggle="tab"> | ||
<span class="visible-xs"><i class="fa fa-book"></i></span> | ||
<span class="hidden-xs"><%= t('dashboard._sidebar.wiki') %></span> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="lists-tab" href="#lists" data-toggle="tab"> | ||
<span class="visible-xs"><i class="fa fa-comment"></i></span> | ||
<span class="hidden-xs"><%= t('dashboard._sidebar.discussion_list') %></span> | ||
</a> | ||
</li> | ||
</ul> | ||
|
||
<div class="tab-content"> | ||
|
||
<div class="tab-pane active" id="wiki"> | ||
<%= render partial: "dashboard/wiki", locals: { wikis: @wikis } %> | ||
</div> | ||
|
||
</div> | ||
<div id="wiki"> | ||
<%= render partial: "dashboard/wiki", locals: { wikis: @wikis } %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters