-
Notifications
You must be signed in to change notification settings - Fork 23
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
Use a different default breadcrumb #437
Comments
Solved by overriding the breadcrumbs template. Kind of dirty, but I don't think I can override the <ul class="breadcrumb">
<li class="first">{{admin-letter-case content="Home"}}</li>
{{#each content as |breadcrumb|}}
{{#unless (is-equal breadcrumb.class "first")}}
{{#if breadcrumb.active}}
<li class="{{breadcrumb.class}}">{{admin-letter-case content=breadcrumb.name caseType=caseType}}</li>
{{else}}
<li class="{{breadcrumb.class}}">
{{#link-to breadcrumb.url}}
{{admin-letter-case content=breadcrumb.name caseType=caseType}}
{{/link-to}}
</li>
{{/if}}
{{/unless}}
{{/each}}
</ul> |
@chrissvo maybe better make in config option? |
and use from config. or make in controller some property? |
https://github.com/ember-admin/ember-cli-admin/blob/master/app/controllers/navigation.js Look into this. Why you don't want add property here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can I set
home
as the default breadcrumb instead ofdashboard
?Current structure:
![image](https://cloud.githubusercontent.com/assets/2834982/9360057/5adeaa8c-4694-11e5-82e3-9af02ce5fd54.png)
I'd like to structure it like this:
home
>projects
>:id
home
>dashboard
The text was updated successfully, but these errors were encountered: