diff --git a/decidim-initiatives/app/packs/stylesheets/decidim/initiatives/initiatives.scss b/decidim-initiatives/app/packs/stylesheets/decidim/initiatives/initiatives.scss index a92044ab668c0..a5d96c314b4da 100644 --- a/decidim-initiatives/app/packs/stylesheets/decidim/initiatives/initiatives.scss +++ b/decidim-initiatives/app/packs/stylesheets/decidim/initiatives/initiatives.scss @@ -25,6 +25,7 @@ .initiative-authors{ padding-left: 0 !important; + margin-left: 30px !important; .publish-date{ display: inline-block; diff --git a/decidim-initiatives/app/views/decidim/initiatives/initiatives/_author.html.erb b/decidim-initiatives/app/views/decidim/initiatives/initiatives/_author.html.erb index b59076091a198..6dfe571f6faac 100644 --- a/decidim-initiatives/app/views/decidim/initiatives/initiatives/_author.html.erb +++ b/decidim-initiatives/app/views/decidim/initiatives/initiatives/_author.html.erb @@ -1,30 +1,10 @@
-
- - <%= image_tag present(initiative.author).avatar_url, alt: t("decidim.author.avatar", name: decidim_sanitize(initiative.author_name)) %> - - - <% if initiative.author.deleted? %> - - <%= t(".deleted") %> - - <% else %> - <%= decidim_sanitize(initiative.author_name) %> - <% end %> - -
+ <%== cell("decidim/author", present(initiative.author)).profile %> <% initiative.committee_members.excluding_author.approved.each do |m| %> <% unless m.user.deleted? %> -
- - <%= image_tag present(m.user).avatar_url %> - - - <%= decidim_sanitize(m.user.name) %> - -
+ <%== cell("decidim/author", present(m.user)).profile %> <% end %> <% end %> diff --git a/decidim-initiatives/config/locales/ar-SA.yml b/decidim-initiatives/config/locales/ar-SA.yml index 0d5f17a4a8050..b5ef26a7ed8dc 100644 --- a/decidim-initiatives/config/locales/ar-SA.yml +++ b/decidim-initiatives/config/locales/ar-SA.yml @@ -346,8 +346,6 @@ ar: sms_phone: invalid: رقم الهاتف غير صالح أو قيد التفويض. من فضلك ، تحقق من التراخيص الخاصة بك. initiatives: - author: - deleted: تم الحذف author_list: hidden_authors_count: zero: و %{count} المزيد من الناس diff --git a/decidim-initiatives/config/locales/ar.yml b/decidim-initiatives/config/locales/ar.yml index 21a08c282e563..ad0faab01aef1 100644 --- a/decidim-initiatives/config/locales/ar.yml +++ b/decidim-initiatives/config/locales/ar.yml @@ -330,8 +330,6 @@ ar: sms_phone: invalid: رقم الهاتف غير صالح أو قيد التفويض. من فضلك ، تحقق من التراخيص الخاصة بك. initiatives: - author: - deleted: تم الحذف author_list: hidden_authors_count: zero: و %{count} المزيد من الناس diff --git a/decidim-initiatives/config/locales/ca.yml b/decidim-initiatives/config/locales/ca.yml index 80d34d9c8b061..17b4addfc731e 100644 --- a/decidim-initiatives/config/locales/ca.yml +++ b/decidim-initiatives/config/locales/ca.yml @@ -438,8 +438,6 @@ ca: sms_phone: invalid: El número de telèfon no és vàlid o està pendent d'autorització. Si us plau, consulta les teves autoritzacions. initiatives: - author: - deleted: Eliminat author_list: hidden_authors_count: one: i 1 persona més diff --git a/decidim-initiatives/config/locales/cs-CZ.yml b/decidim-initiatives/config/locales/cs-CZ.yml index 6237577be3972..833fcf7f8ac32 100644 --- a/decidim-initiatives/config/locales/cs-CZ.yml +++ b/decidim-initiatives/config/locales/cs-CZ.yml @@ -344,8 +344,6 @@ cs: sms_phone: invalid: Telefonní číslo je neplatné nebo čeká na autorizaci. Zkontrolujte prosím vaše oprávnění. initiatives: - author: - deleted: Vymazáno author_list: hidden_authors_count: one: a 1 další osobou diff --git a/decidim-initiatives/config/locales/cs.yml b/decidim-initiatives/config/locales/cs.yml index 8911f55a6fb62..359b3419efffe 100644 --- a/decidim-initiatives/config/locales/cs.yml +++ b/decidim-initiatives/config/locales/cs.yml @@ -444,8 +444,6 @@ cs: sms_phone: invalid: Telefonní číslo je neplatné nebo čeká na autorizaci. Zkontrolujte prosím vaše oprávnění. initiatives: - author: - deleted: Vymazáno author_list: hidden_authors_count: one: a 1 další osobou diff --git a/decidim-initiatives/config/locales/de.yml b/decidim-initiatives/config/locales/de.yml index de93578866ee7..dcc877ee25ea1 100644 --- a/decidim-initiatives/config/locales/de.yml +++ b/decidim-initiatives/config/locales/de.yml @@ -435,8 +435,6 @@ de: sms_phone: invalid: Die Telefonnummer ist ungültig oder muss noch autorisiert werden. Bitte überprüfen Sie Ihre Berechtigungen. initiatives: - author: - deleted: Gelöscht author_list: hidden_authors_count: one: und 1 weitere Person diff --git a/decidim-initiatives/config/locales/el.yml b/decidim-initiatives/config/locales/el.yml index f85d052bed88b..d5c756d373b92 100644 --- a/decidim-initiatives/config/locales/el.yml +++ b/decidim-initiatives/config/locales/el.yml @@ -355,8 +355,6 @@ el: sms_phone: invalid: Ο αριθμός τηλεφώνου δεν είναι έγκυρος ή εκκρεμεί εξουσιοδότηση. Ελέγξτε τις εξουσιοδοτήσεις σας. initiatives: - author: - deleted: Διαγράφηκε author_list: hidden_authors_count: one: και 1 ακόμη άτομο diff --git a/decidim-initiatives/config/locales/en.yml b/decidim-initiatives/config/locales/en.yml index 7021a85b1f687..0a781368ac5e0 100644 --- a/decidim-initiatives/config/locales/en.yml +++ b/decidim-initiatives/config/locales/en.yml @@ -439,8 +439,6 @@ en: sms_phone: invalid: The phone number is invalid or pending of authorization. Please, check your authorizations. initiatives: - author: - deleted: Deleted author_list: hidden_authors_count: one: and 1 more person diff --git a/decidim-initiatives/config/locales/es-MX.yml b/decidim-initiatives/config/locales/es-MX.yml index 3e610dc7dfdc0..870b8f8a3c009 100644 --- a/decidim-initiatives/config/locales/es-MX.yml +++ b/decidim-initiatives/config/locales/es-MX.yml @@ -438,8 +438,6 @@ es-MX: sms_phone: invalid: El número de teléfono no es válido o está pendiente de autorización. Por favor, revise sus autorizaciones. initiatives: - author: - deleted: Eliminado author_list: hidden_authors_count: one: y 1 persona más diff --git a/decidim-initiatives/config/locales/es-PY.yml b/decidim-initiatives/config/locales/es-PY.yml index a49683d180e85..6a9a6e6ac2670 100644 --- a/decidim-initiatives/config/locales/es-PY.yml +++ b/decidim-initiatives/config/locales/es-PY.yml @@ -438,8 +438,6 @@ es-PY: sms_phone: invalid: El número de teléfono no es válido o está pendiente de autorización. Por favor, revise sus autorizaciones. initiatives: - author: - deleted: Eliminado author_list: hidden_authors_count: one: y 1 persona más diff --git a/decidim-initiatives/config/locales/es.yml b/decidim-initiatives/config/locales/es.yml index 30d08894bae25..74db50fb071d1 100644 --- a/decidim-initiatives/config/locales/es.yml +++ b/decidim-initiatives/config/locales/es.yml @@ -438,8 +438,6 @@ es: sms_phone: invalid: El número de teléfono no es válido o está pendiente de autorización. Por favor, revisa tus autorizaciones. initiatives: - author: - deleted: Eliminado author_list: hidden_authors_count: one: y 1 persona más diff --git a/decidim-initiatives/config/locales/eu.yml b/decidim-initiatives/config/locales/eu.yml index 69e753abf8dcc..40ec5a291ca38 100644 --- a/decidim-initiatives/config/locales/eu.yml +++ b/decidim-initiatives/config/locales/eu.yml @@ -434,8 +434,6 @@ eu: sms_phone: invalid: Telefono-zenbakia baliogabea edo baimenaren zain dago. Egiaztatu zure baimenak. initiatives: - author: - deleted: Ezabatutako author_list: hidden_authors_count: one: eta beste 1 pertsona diff --git a/decidim-initiatives/config/locales/fi-pl.yml b/decidim-initiatives/config/locales/fi-pl.yml index 1da17743ca6ef..3c8323146d340 100644 --- a/decidim-initiatives/config/locales/fi-pl.yml +++ b/decidim-initiatives/config/locales/fi-pl.yml @@ -338,8 +338,6 @@ fi-pl: sms_phone: invalid: Puhelinnumero on virheellinen tai odottaa tarkastusta. Tarkista valtuutesi. initiatives: - author: - deleted: Poistettu author_list: hidden_authors_count: one: ja yksi muu henkilö diff --git a/decidim-initiatives/config/locales/fi-plain.yml b/decidim-initiatives/config/locales/fi-plain.yml index 524e04669b9cb..976448fcf188e 100644 --- a/decidim-initiatives/config/locales/fi-plain.yml +++ b/decidim-initiatives/config/locales/fi-plain.yml @@ -438,8 +438,6 @@ fi-pl: sms_phone: invalid: Puhelinnumero on virheellinen tai odottaa tarkastusta. Tarkista valtuutesi. initiatives: - author: - deleted: Poistettu author_list: hidden_authors_count: one: ja yksi muu henkilö diff --git a/decidim-initiatives/config/locales/fi.yml b/decidim-initiatives/config/locales/fi.yml index b3f2d4f965ecb..729b8b369df10 100644 --- a/decidim-initiatives/config/locales/fi.yml +++ b/decidim-initiatives/config/locales/fi.yml @@ -438,8 +438,6 @@ fi: sms_phone: invalid: Puhelinnumero on virheellinen tai odottaa tarkastusta. Tarkista vahvistuksesi. initiatives: - author: - deleted: Poistettu author_list: hidden_authors_count: one: ja yksi muu henkilö diff --git a/decidim-initiatives/config/locales/fr-CA.yml b/decidim-initiatives/config/locales/fr-CA.yml index 4c90689364e0f..ed1b8e7785f50 100644 --- a/decidim-initiatives/config/locales/fr-CA.yml +++ b/decidim-initiatives/config/locales/fr-CA.yml @@ -438,8 +438,6 @@ fr-CA: sms_phone: invalid: Le numéro de téléphone est invalide ou en attente d'autorisation. S'il vous plaît, vérifiez vos autorisations. initiatives: - author: - deleted: Supprimé author_list: hidden_authors_count: one: et 1 autre personne diff --git a/decidim-initiatives/config/locales/fr-LU.yml b/decidim-initiatives/config/locales/fr-LU.yml index 0f0430533ebdd..688fd39365641 100644 --- a/decidim-initiatives/config/locales/fr-LU.yml +++ b/decidim-initiatives/config/locales/fr-LU.yml @@ -437,8 +437,6 @@ fr-LU: sms_phone: invalid: Le numéro de téléphone est invalide ou en attente d'autorisation. S'il vous plaît, vérifiez vos autorisations. initiatives: - author: - deleted: Supprimé author_list: hidden_authors_count: one: et 1 autre personne diff --git a/decidim-initiatives/config/locales/fr.yml b/decidim-initiatives/config/locales/fr.yml index e26ece3c06144..8a88ed7cf12ef 100644 --- a/decidim-initiatives/config/locales/fr.yml +++ b/decidim-initiatives/config/locales/fr.yml @@ -438,8 +438,6 @@ fr: sms_phone: invalid: Le numéro de téléphone est invalide ou en attente d'autorisation. S'il vous plaît, vérifiez vos autorisations. initiatives: - author: - deleted: Supprimé author_list: hidden_authors_count: one: et 1 autre personne diff --git a/decidim-initiatives/config/locales/ga-IE.yml b/decidim-initiatives/config/locales/ga-IE.yml index 4ef83a45ccefd..179604872112b 100644 --- a/decidim-initiatives/config/locales/ga-IE.yml +++ b/decidim-initiatives/config/locales/ga-IE.yml @@ -140,8 +140,6 @@ ga: month: Mí year: Bliain initiatives: - author: - deleted: Scriosta committee_members: approve: Ceadaigh revoke: Cúlghairm diff --git a/decidim-initiatives/config/locales/gl.yml b/decidim-initiatives/config/locales/gl.yml index b06670b5be61a..cc5bfe9542652 100644 --- a/decidim-initiatives/config/locales/gl.yml +++ b/decidim-initiatives/config/locales/gl.yml @@ -316,8 +316,6 @@ gl: sms_phone: invalid: O número de teléfono non é válido nin está en espera de autorización. Verifique as súas autorizacións. initiatives: - author: - deleted: Eliminado author_list: hidden_authors_count: one: e 1 persoa máis diff --git a/decidim-initiatives/config/locales/hu.yml b/decidim-initiatives/config/locales/hu.yml index a8499e72ea4e5..fa85ed15edc63 100644 --- a/decidim-initiatives/config/locales/hu.yml +++ b/decidim-initiatives/config/locales/hu.yml @@ -331,8 +331,6 @@ hu: sms_phone: invalid: A telefonszám érvénytelen vagy függőben van. Kérjük, ellenőrizd az engedélyeket. initiatives: - author: - deleted: Törölve author_list: hidden_authors_count: one: és további 1 személy diff --git a/decidim-initiatives/config/locales/id-ID.yml b/decidim-initiatives/config/locales/id-ID.yml index 2fa37d03ccbc7..a5e0beb8afdc1 100644 --- a/decidim-initiatives/config/locales/id-ID.yml +++ b/decidim-initiatives/config/locales/id-ID.yml @@ -308,8 +308,6 @@ id: sms_phone: invalid: Nomor telepon tidak valid atau menunggu otorisasi. Silakan periksa otorisasi Anda. initiatives: - author: - deleted: Dihapus author_list: hidden_authors_count: other: dan %{count} lebih banyak orang diff --git a/decidim-initiatives/config/locales/is-IS.yml b/decidim-initiatives/config/locales/is-IS.yml index 1d587796ef988..835986f50625d 100644 --- a/decidim-initiatives/config/locales/is-IS.yml +++ b/decidim-initiatives/config/locales/is-IS.yml @@ -169,8 +169,6 @@ is-IS: index: title: Frumkvæði initiatives: - author: - deleted: Eytt count: title: one: "%{count} frumkvæði" diff --git a/decidim-initiatives/config/locales/is.yml b/decidim-initiatives/config/locales/is.yml index 90b1f2c0c906b..091084952b0f9 100644 --- a/decidim-initiatives/config/locales/is.yml +++ b/decidim-initiatives/config/locales/is.yml @@ -182,8 +182,6 @@ is: index: title: Frumkvæði initiatives: - author: - deleted: Eytt count: title: one: "%{count} frumkvæði" diff --git a/decidim-initiatives/config/locales/it.yml b/decidim-initiatives/config/locales/it.yml index 95d23a7df0c65..7ed296567be76 100644 --- a/decidim-initiatives/config/locales/it.yml +++ b/decidim-initiatives/config/locales/it.yml @@ -435,8 +435,6 @@ it: sms_phone: invalid: Il numero di telefono non è valido o è in attesa di autorizzazione. Per favore, controlla le tue autorizzazioni. initiatives: - author: - deleted: eliminata author_list: hidden_authors_count: one: e 1 altra persona diff --git a/decidim-initiatives/config/locales/ja.yml b/decidim-initiatives/config/locales/ja.yml index 94788dd01e83d..a0c112826e5f3 100644 --- a/decidim-initiatives/config/locales/ja.yml +++ b/decidim-initiatives/config/locales/ja.yml @@ -435,8 +435,6 @@ ja: sms_phone: invalid: 電話番号が無効または承認待ちです。認証を確認してください。 initiatives: - author: - deleted: 削除しました author_list: hidden_authors_count: other: '%{count} 人以上' diff --git a/decidim-initiatives/config/locales/lb-LU.yml b/decidim-initiatives/config/locales/lb-LU.yml index bd89bb2fdc8a8..da080ece17e1f 100644 --- a/decidim-initiatives/config/locales/lb-LU.yml +++ b/decidim-initiatives/config/locales/lb-LU.yml @@ -227,8 +227,6 @@ lb: sms_phone: invalid: Die Telefonnummer ist ungültig oder muss noch autorisiert werden. Bitte überprüfen Sie Ihre Berechtigungen. initiatives: - author: - deleted: Gelöscht author_list: hidden_authors_count: one: und 1 weitere Person diff --git a/decidim-initiatives/config/locales/lb.yml b/decidim-initiatives/config/locales/lb.yml index 713504d3ecbfa..5481112bd73b5 100644 --- a/decidim-initiatives/config/locales/lb.yml +++ b/decidim-initiatives/config/locales/lb.yml @@ -367,8 +367,6 @@ lb: sms_phone: invalid: Die Telefonnummer ist ungültig oder muss noch autorisiert werden. Bitte überprüfen Sie Ihre Berechtigungen. initiatives: - author: - deleted: Gelöscht author_list: hidden_authors_count: one: und 1 weitere Person diff --git a/decidim-initiatives/config/locales/lv.yml b/decidim-initiatives/config/locales/lv.yml index 9c95b05f8ce26..3643c73a5cbd7 100644 --- a/decidim-initiatives/config/locales/lv.yml +++ b/decidim-initiatives/config/locales/lv.yml @@ -356,8 +356,6 @@ lv: sms_phone: invalid: Tālruņa numurs nav derīgs vai gaida autorizāciju. Lūdzu, pārbaudiet savas autorizācijas. initiatives: - author: - deleted: Dzēsts author_list: hidden_authors_count: zero: un vēl %{count} personas diff --git a/decidim-initiatives/config/locales/nl.yml b/decidim-initiatives/config/locales/nl.yml index 99e19602c0654..6edbfeab48601 100644 --- a/decidim-initiatives/config/locales/nl.yml +++ b/decidim-initiatives/config/locales/nl.yml @@ -389,8 +389,6 @@ nl: sms_phone: invalid: Het telefoonnummer is ongeldig of in afwachting van autorisatie. Controleer alstublieft uw autorisaties. initiatives: - author: - deleted: verwijderde author_list: hidden_authors_count: one: en nog 1 persoon diff --git a/decidim-initiatives/config/locales/no.yml b/decidim-initiatives/config/locales/no.yml index 0fe1eaada2f10..5898087f77417 100644 --- a/decidim-initiatives/config/locales/no.yml +++ b/decidim-initiatives/config/locales/no.yml @@ -429,8 +429,6 @@ sms_phone: invalid: Telefonnummeret er ugyldig eller venter på godkjenning. Vennligst sjekk autorisasjonene dine. initiatives: - author: - deleted: Slettet author_list: hidden_authors_count: one: og 1 til persjon diff --git a/decidim-initiatives/config/locales/pl.yml b/decidim-initiatives/config/locales/pl.yml index 6a5d66f704fb1..054b887b82f2f 100644 --- a/decidim-initiatives/config/locales/pl.yml +++ b/decidim-initiatives/config/locales/pl.yml @@ -441,8 +441,6 @@ pl: sms_phone: invalid: Numer telefonu jest nieprawidłowy lub oczekuje na autoryzację. Sprawdź swoje autoryzacje. initiatives: - author: - deleted: Usunięto author_list: hidden_authors_count: one: i jeszcze 1 osoba diff --git a/decidim-initiatives/config/locales/pt-BR.yml b/decidim-initiatives/config/locales/pt-BR.yml index 6ce9678d1388e..f45efcae0855a 100644 --- a/decidim-initiatives/config/locales/pt-BR.yml +++ b/decidim-initiatives/config/locales/pt-BR.yml @@ -435,8 +435,6 @@ pt-BR: sms_phone: invalid: O número de telefone é inválido ou está pendente de autorização. Por favor, verifique suas autorizações. initiatives: - author: - deleted: Excluído author_list: hidden_authors_count: one: e mais 1 pessoa diff --git a/decidim-initiatives/config/locales/pt.yml b/decidim-initiatives/config/locales/pt.yml index dcd7cedfdd670..d1c07a3f09c0e 100644 --- a/decidim-initiatives/config/locales/pt.yml +++ b/decidim-initiatives/config/locales/pt.yml @@ -435,8 +435,6 @@ pt: sms_phone: invalid: O número de telefone é inválido ou está pendente de autorização. Por favor, verifique as suas autorizações. initiatives: - author: - deleted: Eliminado author_list: hidden_authors_count: one: e mais 1 pessoa diff --git a/decidim-initiatives/config/locales/ro-RO.yml b/decidim-initiatives/config/locales/ro-RO.yml index 4e4ab9ad93e2e..45b7264c173dc 100644 --- a/decidim-initiatives/config/locales/ro-RO.yml +++ b/decidim-initiatives/config/locales/ro-RO.yml @@ -439,8 +439,6 @@ ro: sms_phone: invalid: Numărul de telefon este invalid sau în aşteptarea autorizaţiei. Te rugăm să verific setările tale de autorizare. initiatives: - author: - deleted: Șters author_list: hidden_authors_count: one: și încă o persoană diff --git a/decidim-initiatives/config/locales/ru.yml b/decidim-initiatives/config/locales/ru.yml index 1687b1a6a4ed0..599c8b3b21a56 100644 --- a/decidim-initiatives/config/locales/ru.yml +++ b/decidim-initiatives/config/locales/ru.yml @@ -227,8 +227,6 @@ ru: create: error: При попытке подписаться за этот почин произошли ошибки. initiatives: - author: - deleted: Удален author_list: hidden_authors_count: one: и еще 1 человек diff --git a/decidim-initiatives/config/locales/sk-SK.yml b/decidim-initiatives/config/locales/sk-SK.yml index a8c68318c9787..4f88d83dcac4a 100644 --- a/decidim-initiatives/config/locales/sk-SK.yml +++ b/decidim-initiatives/config/locales/sk-SK.yml @@ -321,8 +321,6 @@ sk: sms_phone: invalid: Telefónne číslo je neplatné alebo čaká na autorizáciu. Skontrolujte prosím vaše oprávnenie. initiatives: - author: - deleted: Zmazaných author_list: hidden_authors_count: one: a 1 ďalšou osobou diff --git a/decidim-initiatives/config/locales/sk.yml b/decidim-initiatives/config/locales/sk.yml index 446cca3ca6748..f587effa06708 100644 --- a/decidim-initiatives/config/locales/sk.yml +++ b/decidim-initiatives/config/locales/sk.yml @@ -298,8 +298,6 @@ sk: sms_phone: invalid: Telefónne číslo je neplatné alebo čaká na autorizáciu. Skontrolujte prosím vaše oprávnenie. initiatives: - author: - deleted: Zmazaných author_list: hidden_authors_count: one: a 1 ďalšou osobou diff --git a/decidim-initiatives/config/locales/sv.yml b/decidim-initiatives/config/locales/sv.yml index b22376ab63be8..dca4bea0e7900 100644 --- a/decidim-initiatives/config/locales/sv.yml +++ b/decidim-initiatives/config/locales/sv.yml @@ -395,8 +395,6 @@ sv: sms_phone: invalid: Telefonnumret är ogiltigt eller har ännu inte godkänts. Kontrollera dina godkännanden. initiatives: - author: - deleted: Raderade author_list: hidden_authors_count: one: och ytterligare en person diff --git a/decidim-initiatives/config/locales/tr-TR.yml b/decidim-initiatives/config/locales/tr-TR.yml index c594c78d9c6e6..ec3faa8cef8ce 100644 --- a/decidim-initiatives/config/locales/tr-TR.yml +++ b/decidim-initiatives/config/locales/tr-TR.yml @@ -406,8 +406,6 @@ tr: sms_phone: invalid: Telefon numarası geçersiz veya yetki bekleniyor. Lütfen yetkilerinizi kontrol edin. initiatives: - author: - deleted: Silindi author_list: hidden_authors_count: one: ve 1 kişi daha diff --git a/decidim-initiatives/config/locales/uk.yml b/decidim-initiatives/config/locales/uk.yml index 035580118eb53..bc5e336e25545 100644 --- a/decidim-initiatives/config/locales/uk.yml +++ b/decidim-initiatives/config/locales/uk.yml @@ -227,8 +227,6 @@ uk: create: error: При підписанні цього почину сталися помилки. initiatives: - author: - deleted: Видалено author_list: hidden_authors_count: one: і ще 1 особа diff --git a/decidim-initiatives/config/locales/zh-CN.yml b/decidim-initiatives/config/locales/zh-CN.yml index 961fd65dc1e9d..10134b9cda1a6 100644 --- a/decidim-initiatives/config/locales/zh-CN.yml +++ b/decidim-initiatives/config/locales/zh-CN.yml @@ -374,8 +374,6 @@ zh-CN: sms_phone: invalid: 电话号码无效或正在等待授权。请检查您的授权。 initiatives: - author: - deleted: 已删除 author_list: hidden_authors_count: other: 和更多 %{count} 人 diff --git a/decidim-initiatives/spec/system/initiative_spec.rb b/decidim-initiatives/spec/system/initiative_spec.rb index 60f4e8119982d..55ed5aa69c567 100644 --- a/decidim-initiatives/spec/system/initiative_spec.rb +++ b/decidim-initiatives/spec/system/initiative_spec.rb @@ -63,6 +63,7 @@ it "shows the author name once in the authors list" do within ".initiative-authors" do expect(page).to have_content(initiative.author_name, count: 1) + expect(page).to have_link(href: "/profiles/#{initiative.author.nickname}") end end