debian-mirror-gitlab/lib/sidebars/concerns/has_hint.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
331 B
Ruby
Raw Normal View History

2021-04-29 21:17:54 +05:30
# frozen_string_literal: true
# This module has the necessary methods to store
# hints for menus. Hints are elements displayed
# when the user hover the menu item.
module Sidebars
2021-06-08 01:23:25 +05:30
module Concerns
module HasHint
def show_hint?
false
end
2021-04-29 21:17:54 +05:30
2021-06-08 01:23:25 +05:30
def hint_html_options
{}
end
2021-04-29 21:17:54 +05:30
end
end
end