Commit c0eeefc7 authored by Simon Knox's avatar Simon Knox Committed by Paul Slaughter

Prevent pointer cursor on an unclickable button

parent 1a732281
......@@ -6,4 +6,4 @@
- anchors.each do |anchor|
%li.nav-item
= link_to_if anchor.link, anchor.label, anchor.link, class: anchor.is_link ? 'nav-link stat-link d-flex align-items-center' : "nav-link btn btn-#{anchor.class_modifier || 'missing'} d-flex align-items-center" do
.stat-text.d-flex.align-items-center{ class: ('btn btn-default' if project_buttons) }= anchor.label
.stat-text.d-flex.align-items-center{ class: ('btn btn-default disabled' if project_buttons) }= anchor.label
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment