Showing the changes to assets/javascripts (2 of 3 files). Show all
Unified · Split
| @@ -27,6 +27,8 @@ templates.sidebarLabel = (doc, options = {}) -> · 26 unmodified lines | ||
| 27 | 27 | label += 'checked' if options.checked |
| 28 | 28 | label + ">#{doc.name}</label>" |
| 29 | 29 | |
| 30 | +templates.sidebarDisabled = '<h6 class="_list-title">Disabled</h6>' | |
| 31 | + | |
| 30 | 32 | templates.sidebarVote = '<a href="https://trello.com/b/6BmTulfx/devdocs-documentation" class="_list-link" target="_blank">Vote for new documentation</a>' |
| 31 | 33 | |
| 32 | 34 | sidebarFooter = (html) -> """<div class="_sidebar-footer">#{html}</div>""" |
| @@ -32,7 +32,8 @@ class app.views.DocList extends app.View · 31 unmodified lines | ||
| 32 | 32 | render: => |
| 33 | 33 | @html @tmpl('sidebarDoc', app.docs.all()) |
| 34 | 34 | unless app.isSingleDoc() or app.settings.hasDocs() |
| 35 | − @append @tmpl('sidebarDoc', app.disabledDocs.all(), disabled: true) | |
| 35 | + @append @tmpl('sidebarDisabled') + | |
| 36 | + @tmpl('sidebarDoc', app.disabledDocs.all(), disabled: true) | |
| 36 | 37 | return |
| 37 | 38 | |
| 38 | 39 | reset: -> |