Skip to content

Commit b2d0749

Browse files
committed
Reapply "[HBX] Restore Tools in main menu"
This reverts commit e92f202.
1 parent 10853e1 commit b2d0749

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

_partials/menu/desktop-top.html.haml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
%a.item{:href => "/ogm/", :class=>"#{'active' if current_path.start_with?('/ogm')}"} OGM
1010
%a.item{:href => "/reactive/", :class=>"#{'active' if current_path.start_with?('/reactive')}"} Reactive
1111
%a.item{:href => "/repositories/", :class=>"#{'active' if current_path.start_with?('/repositories')}"} Repositories
12-
- if current_path.start_with?('/tools')
13-
%a.item{:href => "/tools/", :class=>"#{'active' if current_path.start_with?('/tools')}"} Tools
12+
%a.item{:href => "/tools/", :class=>"#{'active' if current_path.start_with?('/tools')}"} Tools
1413
%a.item{:href => "/others/", :class=>"#{'active' if current_path.start_with?('/others')}"} Others
1514
.right.menu
1615
%a.item(href="#{site.in_relation_to.base_url}") Blog

_partials/menu/mobile.html.haml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'OGM', 'project_key' => 'ogm', 'project_icon' => 'sitemap'})
1111
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Reactive', 'project_key' => 'reactive', 'project_icon' => 'flask'})
1212
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Repositories', 'project_key' => 'repositories', 'project_icon' => 'university'})
13-
- if current_path.start_with?('/tools')
14-
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Tools', 'project_key' => 'tools', 'project_icon' => 'wrench'})
13+
= partial( 'menu/mobile-section-project.html.haml', {'real_page' => real_page, 'project_name' => 'Tools', 'project_key' => 'tools', 'project_icon' => 'wrench'})
1514
%a.item(href="/others/")
1615
Others
1716
= partial( 'menu/mobile-section-community.html.haml', {'real_page' => real_page})

index.html.haml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ title: Hibernate. Everything data.
5454
%i.right.arrow.icon
5555
More
5656
.project
57-
.ui.raised.segment.tools
57+
.ui.raised.segment.reactive
5858
%h3.ui.header
5959
%a{:href => relative("/reactive/")} Hibernate Reactive
6060
%p
@@ -65,7 +65,7 @@ title: Hibernate. Everything data.
6565
%i.right.arrow.icon
6666
More
6767
.project
68-
.ui.raised.segment.tools
68+
.ui.raised.segment.data
6969
%h3.ui.header
7070
%a{:href => relative("/repositories/")} Data Repositories
7171
%p
@@ -77,11 +77,22 @@ title: Hibernate. Everything data.
7777
More
7878
.project
7979
.ui.raised.segment.tools
80+
%h3.ui.header
81+
%a{:href => relative("/tools/")} Hibernate Tools
82+
%p
83+
%i.big.icon.wrench
84+
Command line tools and IDE plugins for your Hibernate usages.
85+
.ui.right.aligned.basic.segment
86+
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/tools/")}
87+
%i.right.arrow.icon
88+
More
89+
.project
90+
.ui.raised.segment.others
8091
%h3.ui.header
8192
%a{:href => relative("/others/")} Others
8293
%p
8394
%i.big.icon.pause
84-
Less-active projects (Hibernate Tools, Hibernate OGM, Hibernate Shards).
95+
Less-active projects (Hibernate OGM, Hibernate Shards).
8596
.ui.right.aligned.basic.segment
8697
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/others/")}
8798
%i.right.arrow.icon

others/index.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@ Emmanuel Bernard
55
We always have new ideas to solve data related problems.
66
You will find some of these experiments here.
77

8-
== Hibernate Tools
9-
10-
++++
11-
<a class="ui button right labeled icon a primary" href="/tools/">
12-
<i class="right arrow icon"></i>
13-
More about Hibernate Tools
14-
</a>
15-
++++
16-
178
== Hibernate OGM
189

1910
[role="ui message warning"]

0 commit comments

Comments
 (0)