New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide tab #83
Hide tab #83
Changes from 9 commits
84dee81
edc25c3
a088feb
bfcfec6
05d6426
4f1cd70
26319a0
a4df782
c4715c4
ba7b6e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{{#if canAssign}} | ||
<ul class ='nav-pills'> | ||
<li> | ||
{{#link-to 'group.assignments' group}} | ||
{{d-icon "user-plus" class="glyph"}}{{i18n 'discourse_assign.group_assignments'}}{{concat ' (' group.assignment_count concat ')'}} | ||
{{#link-to "group.assignments" group.assignment_count}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That seems a bit weird. Did you mean to change this? I don't see why we would want to pass the count into the link-to component? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yaa this was supposed to remove😅, i just added it to test something😅 |
||
{{d-icon "user-plus" class="glyph"}}{{i18n 'discourse_assign.group_assignments'}} ({{group.assignment_count}}) | ||
{{/link-to}} | ||
</li> | ||
</ul> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should rename this to "displayAssignTab" or something. Because it doesn't mean 'canAssign' any more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, ill rename this