Skip to content

Commit

Permalink
remove tooltip style and provide wiki hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 3, 2024
1 parent b1f7a21 commit f5f8ea4
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Move assign to me button to assign to block
- svg icons support for Redmine 6
- remove tooltip css style, which overwrote default redmine style

## 3.4.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ The following modules are available :
* [redmine_reporting](https://alphanodes.com/redmine-reporting)
* [redmine_servicedesk](https://alphanodes.com/redmine-servicedesk)
* [redmine_sudo](https://github.com/alphanodes/redmine_sudo)
* [redmine_wki_guide](https://alphanodes.com/redmine-wiki-guide)
* [redmine_wiki_guide](https://alphanodes.com/redmine-wiki-guide)

If you know other plugins, which are using *additionals*, please let us know or create a [PR](https://github.com/alphanodes/additionals/pulls).

Expand Down
9 changes: 9 additions & 0 deletions app/overrides/wiki_date_index.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

module WikiDateIndex
Deface::Override.new virtual_path: 'wiki/date_index',
name: 'reporting-add-wiki-index-pdf-options-modal',
insert_before: 'erb[silent]:contains("content_for :header_tags")',
original: '991dfe298b3aac07f291fcbabaebbd32b0cec720',
partial: 'hooks/view_wiki_date_index_bottom'
end
9 changes: 9 additions & 0 deletions app/overrides/wiki_index.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

module WikiIndex
Deface::Override.new virtual_path: 'wiki/index',
name: 'reporting-add-wiki-index-pdf-options-modal',
insert_before: 'erb[silent]:contains("content_for :header_tags")',
original: '991dfe298b3aac07f291fcbabaebbd32b0cec720',
partial: 'hooks/view_wiki_index_bottom'
end
1 change: 1 addition & 0 deletions app/views/hooks/_view_wiki_date_index_bottom.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= call_hook :view_wiki_date_index_bottom, pages: @pages
1 change: 1 addition & 0 deletions app/views/hooks/_view_wiki_index_bottom.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= call_hook :view_wiki_index_bottom, pages: @pages
11 changes: 0 additions & 11 deletions assets/stylesheets/additionals.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,17 +232,6 @@ h2#page-title.live-search input {
margin-left: 5px;
}

/* Tooltips */
.ui-tooltip {
background: #000;
color: #fff;
font-size: 12px;
opacity: 0.85;
padding: 8px;
max-width: inherit;
box-shadow: 0 0 6px #888;
}

div.macro-box {
margin-bottom: 15px;
}
Expand Down

0 comments on commit f5f8ea4

Please sign in to comment.