Skip to content

Commit

Permalink
Add Redmine 5.1.4 to CI Config & complete Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Nov 28, 2024
1 parent 7e07c9f commit 7286977
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/5_1_3.yml → .github/workflows/5_1_4.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Tests 5.1.3
name: Tests 5.1.4

env:
PLUGIN_NAME: redmine_tiny_features
REDMINE_VERSION: 5.1.3
REDMINE_VERSION: 5.1.4
RAILS_ENV: test

on:
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@ Here is a complete list of the features:
* PDF exports: add **links to attached files in generated PDF**"
* Projects overview: add an option to **hide members section**
* **Hide status select box** in new issue form if only one status is available
* Add a link to quickly **create a new issue related to the current one**

## Test status

| Plugin branch | Redmine Version | Test Status |
|---------------|-----------------|-------------------|
| master | 4.2.11 | [![4.2.11][1]][5] |
| master | 5.1.3 | [![5.1.3][2]][5] |
| master | 5.1.4 | [![5.1.4][2]][5] |
| master | master | [![master][3]][5] |

[1]: https://github.com/nanego/redmine_tiny_features/actions/workflows/4_2_11.yml/badge.svg
[2]: https://github.com/nanego/redmine_tiny_features/actions/workflows/5_1_3.yml/badge.svg
[2]: https://github.com/nanego/redmine_tiny_features/actions/workflows/5_1_4.yml/badge.svg
[3]: https://github.com/nanego/redmine_tiny_features/actions/workflows/master.yml/badge.svg
[5]: https://github.com/nanego/redmine_tiny_features/actions
13 changes: 0 additions & 13 deletions app/overrides/issues/_action_menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,3 @@
:text => <<-HIDE_LINK
&& [email protected]_issue_copy
HIDE_LINK

Deface::Override.new :virtual_path => 'issues/_action_menu',
:name => 'add-link-issue-button-to-issue-actions',
:insert_before => 'erb[loud]:contains("link_to l(:button_edit)")',
:text => <<~RELATEDISSUE
<% if Setting["plugin_redmine_tiny_features"]["create_related_issue_shortcut"].present? %>
<%= link_to l(:label_create_related_issue_shortcut),
new_project_issue_path(project_id: Setting["plugin_redmine_tiny_features"]["create_related_issue_shortcut_project_id"] || @project.id,
'issue[description]' => @issue.description,
related_to: @issue,),
class: "icon icon-link-break" %>
<% end %>
RELATEDISSUE

0 comments on commit 7286977

Please sign in to comment.