FIX: broken select badge as user title (#5474)

* FIX: broken select badge as user title

* selected id wasn’t pass to underlying component
* <none> was rendered as an html tag <none></none>
* overriding a badge name wouldn’t work as it was using badge.name and not badge.display_name
* adds a spec to ensure this behavior is correct
This commit is contained in:
Joffrey JAFFEUX
2018-01-05 16:58:15 +01:00
committed by GitHub
parent ed4b845930
commit 642645ba9a
34 changed files with 65 additions and 35 deletions

View File

@@ -2126,7 +2126,7 @@ pt_BR:
one: "1 concedido"
other: "%{count} concedidos"
select_badge_for_title: Selecione um emblema para usar como o seu título
none: "<nenhum>"
none: "(nenhum)"
badge_grouping:
getting_started:
name: Primeiros Passos