docbrown/app/views/moderations
Daniel Uber fce7db8553
Fix erblint failures (#14532)
* erblint was failing on this file, it looks like two separate issues

a closing quote on the `aria-haspopup="true caused some issues when
running erblint

a warning about Lint/FloatComparison raised about casting the
rating_level value to_f, I chose to convert the float to integer and
compare to the value instead.

I suspect the lint rule didn't run in the most recent change to this
file.

* Use `round` instead of `to_i` when converting from float

Also, move the access and conversion outside of the
loop (microoptimization, but I did it to shorten the inline comparison).
2021-08-18 08:21:48 -05:00
..
_mod_sidebar_left.html.erb Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
_mod_sidebar_right.html.erb Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
_reactions.html.erb Adjust images used for moderation (#14533) 2021-08-17 17:09:37 -05:00
actions_panel.html.erb Fix erblint failures (#14532) 2021-08-18 08:21:48 -05:00
index.html.erb Update dev.to/mods for non-logged in users (#12301) 2021-01-20 13:53:50 -05:00
mod.html.erb Replace EmojiOne with Twemoji (#14517) 2021-08-17 21:29:21 +02:00