Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static function create(ContainerInterface $container) {
*/
private const SORTABLE = [
'integration' => 'integration_name',
'status' => 'status',
'can_be_exported' => 'status',
'last_mapped' => 'last_mapped',
'project_housing_company' => 'project_housing_company',
'apartment_address' => 'apartment_address',
Expand Down Expand Up @@ -103,11 +103,11 @@ public function summary(Request $request) {
};

$header = [
$headerCell('integration', $this->t('Integration')),
$headerCell('status', $this->t('Status')),
$headerCell('integration', $this->t('Name')),
$headerCell('can_be_exported', $this->t('Can be exported')),
$headerCell('last_mapped', $this->t('Last successful export')),
$headerCell('project_housing_company', $this->t('Project Name')),
$headerCell('apartment_address', $this->t('Apartment Address')),
$headerCell('project_housing_company', $this->t('Project')),
$headerCell('apartment_address', $this->t('Apartment')),
$headerCell('missing_fields', $this->t('Missing Fields')),
];

Expand Down Expand Up @@ -148,10 +148,10 @@ public function summary(Request $request) {
// Format status with visual indicator.
$status_display = $r['status'];
if (isset($r['status_key']) && $r['status_key'] === 'success') {
$status_display = '✓ ' . $status_display;
$status_display = '✓';
}
elseif (isset($r['status_key']) && $r['status_key'] === 'fail') {
$status_display = '✗ ' . $status_display;
$status_display = '✗';
}

// Format missing fields.
Expand Down
17 changes: 7 additions & 10 deletions public/modules/custom/asu_content/translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ msgstr "Tallenna asetukset"
msgid "delete"
msgstr "poista"

msgid "Status"
msgstr "Tila"
msgid "Can be exported"
msgstr "Voidaan viedä"

msgid "Register"
msgstr "Rekisteröidy"
Expand Down Expand Up @@ -35920,6 +35920,9 @@ msgstr ""
msgid "Integrations"
msgstr "Integraatiot"

msgid "Integrations summary"
msgstr "Integraatioiden yhteenveto"

msgid "Integrations"
msgstr ""
msgid "Add new context"
Expand Down Expand Up @@ -43405,9 +43408,6 @@ msgstr "Helsingin kaupungin logo"
msgid "You already have an offer or have been sold an apartment in this project and cannot submit a new application."
msgstr "Sinulla on jo myyty tai tarjottu asunto tässä kohteessa etkä siksi voi tehdä uutta hakemusta."

msgid "Integration"
msgstr "Integraatio"

msgid "Status"
msgstr "Tila"

Expand All @@ -43417,11 +43417,8 @@ msgstr "UUID"
msgid "Project UUID"
msgstr "Kohteen UUID"

msgid "Project Name"
msgstr "Kohteen nimi"

msgid "Apartment Address"
msgstr "Asunnon osoite"
msgid "Apartment"
msgstr "Asunto"

msgid "Project URL"
msgstr "Kohteen URL"
Expand Down