mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
a/an universe
This commit is contained in:
parent
ecbad780ea
commit
e5844b341e
@ -41,7 +41,7 @@
|
||||
<%= link_to new_polymorphic_path(content_type), class: "btn-floating btn-large hoverable halfway-fab waves-effect waves-light #{content_type_class.color} tooltipped #{'grey' unless current_user.can_create?(content_type_class)}",
|
||||
data: {
|
||||
position: 'bottom',
|
||||
tooltip: current_user.can_create?(content_type_class) ? "Create a#{'n' if %w(a e i o u).include?(content_type.to_s[0])} #{content_type.to_s}"
|
||||
tooltip: current_user.can_create?(content_type_class) ? "Create a#{'n' if %w(a e i o u).include?(content_type.to_s[0]) && content_type.to_s != 'universe'} #{content_type.to_s}"
|
||||
: "#{content_type.to_s.pluralize.titleize} require a Premium subscription to create.",
|
||||
enterDelay: 50
|
||||
} do %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user