mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 19:45:08 +00:00
* first srcl pass! * HOLY MFIN KBAR * first last search * put the borders back * button! * oops * toolbar! * lol * bump dreamland, make kbar actually reactive? * shorter timeout lol * identity picker component * nuke that lol * seen_hints * woah * hint sys pt 1 * HINTS * HINTS AND SHORTCUTS * styles, BACKSPACE * nav on home * bananananana * click, starring adam sandler * scrool * lint pass * autoed complete * shut * brake the man * dunno why those got unmerged * path oopsie * backspace on audit logs * whitespace * i thought i told you to shut up * mr. brakeman
27 lines
566 B
Ruby
27 lines
566 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Components::PublicActivity::Container < Components::Base
|
|
register_value_helper :render_activities
|
|
|
|
def initialize(activities)
|
|
@activities = activities
|
|
end
|
|
|
|
def view_template
|
|
div class: "table-container" do
|
|
table do
|
|
thead do
|
|
tr do
|
|
th { "user" }
|
|
th { "action" }
|
|
th { "time" }
|
|
th { "inspect" } if Rails.env.development?
|
|
end
|
|
end
|
|
tbody do
|
|
render_activities(@activities)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|