# Improving discovery of the badge title feature

**URL:** <https://meta.discourse.org/t/improving-discovery-of-the-badge-title-feature/27372>\
**Category:** Feature\
**Created:** [2015 年 4 月 9 日午前 8:57 UTC](https://meta.discourse.org/t/improving-discovery-of-the-badge-title-feature/27372 "2015-04-09T08:57:09Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![designbygio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/designbygio/32/122415_2.png) [@designbygio](https://meta.discourse.org/u/designbygio)\
**Post date:** [2017 年 4 月 24 日午前 10:30 UTC](https://meta.discourse.org/t/improving-discovery-of-the-badge-title-feature/27372/12 "2017-04-24T10:30:04Z")

</div>

thanks @Mittineague!  
I posted the wrong file link, now i correct it. Is actually `badge_grant.rb` not the spec file.

What i try want to do is to “update” the attributes that the badge has in notification-item.js  
That badge now has: id, name, slug and username.  
I want to pass to that badge var also `allow_title` attribute. Which i now it exist in the ruby part.  
Once i have a boolean value for each badge that tell me if `allow_title` or not, is easy to add title link.

I’m not sure i understand your idea with the different css classes (do you want to give to each `<span>` the name of the badge as class name?) but with your or mine approach, i still need to know at one point, if the badge can be use as title or not.  
And that’s something that has to come from the backend, as attributes, as far as i know.

---

_[View the full topic](https://meta.discourse.org/t/improving-discovery-of-the-badge-title-feature/27372)._
