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

@@ -2142,7 +2142,7 @@ zh_CN:
granted:
other: "%{count} 授予"
select_badge_for_title: 选择一个徽章作为你的头衔使用
none: "<none>"
none: "(none)"
badge_grouping:
getting_started:
name: 开始