They were all following the same format. Note we need to group the `see_all` translation keys together (the same way it's done with the `most_active` keys) so we don't have an unused translation warning. We're also moving the "see all" link in processes outside the feed content; the same way it's done in debates and proposals and removing unnecessary classes in the processes feed: the column class is causing the processes not to be aligned with the debates above them, and the margin bottom is not needed because the margin of the footer is already enough.
8 lines
150 B
Ruby
8 lines
150 B
Ruby
class Widgets::Feeds::ProposalComponent < ApplicationComponent
|
|
attr_reader :proposal
|
|
|
|
def initialize(proposal)
|
|
@proposal = proposal
|
|
end
|
|
end
|