From f100e01dd227d14a313416a3780f818d57fcfb63 Mon Sep 17 00:00:00 2001 From: taitus Date: Wed, 22 Feb 2023 09:34:25 +0100 Subject: [PATCH] Use human_attribute_name in admin tables To be consistent with the previous commit we update the text that appears in the administration tables for discussions and proposals. Now instead of "Proposals" and "Discussions" will appear "Title" which makes more sense and is more consistent. --- app/views/admin/debates/index.html.erb | 2 +- app/views/admin/proposals/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/debates/index.html.erb b/app/views/admin/debates/index.html.erb index 0d3afd507..63e601aad 100644 --- a/app/views/admin/debates/index.html.erb +++ b/app/views/admin/debates/index.html.erb @@ -12,7 +12,7 @@ - + diff --git a/app/views/admin/proposals/index.html.erb b/app/views/admin/proposals/index.html.erb index 2c62d0c25..5cad75632 100644 --- a/app/views/admin/proposals/index.html.erb +++ b/app/views/admin/proposals/index.html.erb @@ -13,7 +13,7 @@ - +
<%= t("admin.debates.index.id") %><%= t("admin.debates.index.title") %><%= Debate.human_attribute_name(:title) %> <%= t("admin.debates.index.author") %>
<%= t("admin.proposals.index.id") %><%= t("admin.proposals.index.title") %><%= Proposal.human_attribute_name(:title) %> <%= t("admin.proposals.index.author") %> <%= t("admin.proposals.index.milestones") %> <%= t("admin.proposals.index.selected") %>