Module: AdditionalTags
- Includes:
- RedminePluginKit::PluginBase
- Defined in:
- lib/additional_tags.rb,
lib/additional_tags/tags.rb,
lib/additional_tags/plugin_version.rb,
lib/additional_tags/hooks/view_hook.rb,
lib/additional_tags/hooks/model_hook.rb,
lib/additional_tags/patches/issue_patch.rb,
lib/additional_tags/patches/query_patch.rb,
lib/additional_tags/patches/journal_patch.rb,
lib/additional_tags/patches/wiki_page_patch.rb,
lib/additional_tags/patches/time_entry_patch.rb,
lib/additional_tags/patches/agile_query_patch.rb,
lib/additional_tags/patches/issue_query_patch.rb,
lib/additional_tags/patches/time_report_patch.rb,
lib/additional_tags/patches/my_controller_patch.rb,
lib/additional_tags/patches/queries_helper_patch.rb,
lib/additional_tags/patches/wiki_controller_patch.rb,
lib/additional_tags/patches/time_entry_query_patch.rb,
lib/additional_tags/patches/dashboard_content_patch.rb,
lib/additional_tags/patches/gantts_controller_patch.rb,
lib/additional_tags/patches/issues_controller_patch.rb,
lib/additional_tags/patches/imports_controller_patch.rb,
lib/additional_tags/patches/timelog_controller_patch.rb,
lib/additional_tags/patches/settings_controller_patch.rb,
lib/additional_tags/patches/agile_versions_query_patch.rb,
lib/additional_tags/patches/calendars_controller_patch.rb,
lib/additional_tags/patches/dashboards_controller_patch.rb,
lib/additional_tags/patches/agile_boards_controller_patch.rb,
lib/additional_tags/patches/agile_versions_controller_patch.rb,
lib/additional_tags/patches/auto_completes_controller_patch.rb,
lib/additional_tags/patches/dashboard_async_blocks_controller_patch.rb
Defined Under Namespace
Modules: Hooks, Patches, PluginVersion Classes: Plugin, Tags
Constant Summary collapse
- TAG_TABLE_NAME =
'additional_tags'
- TAGGING_TABLE_NAME =
'additional_taggings'
Class Method Summary collapse
- .show_sidebar_tags? ⇒ Boolean
-
.use_colors? ⇒ Boolean
color is used by default (if setting is missing, too).
Class Method Details
.show_sidebar_tags? ⇒ Boolean
13 14 15 |
# File 'lib/additional_tags.rb', line 13 def setting(:tags_sidebar).present? && setting(:tags_sidebar) != 'none' end |
.use_colors? ⇒ Boolean
color is used by default (if setting is missing, too)
18 19 20 |
# File 'lib/additional_tags.rb', line 18 def use_colors? setting(:tags_color_theme).to_s != '0' end |