|
25 | 25 | data-bind="title: ko.i18n('cohortDefinitions.cohortDefinitionManager.closeCohortTitle', 'Close cohort definition'), click: close, css: { disabled: isProcessing() }"><i |
26 | 26 | class="fa fa-times"></i></button> |
27 | 27 | <!-- ko if: currentCohortDefinition().id() != null && currentCohortDefinition().id() != 0 --> |
| 28 | + <!-- Hide this not-so-useful part and make the page more 508 compliant: |
28 | 29 | <button class="btn btn-primary" |
29 | 30 | data-bind="title: ko.i18n('common.tags', 'Tags'), visible: canEdit() && !previewVersion(), click: () => isTagsModalShown(!isTagsModalShown()), css: { disabled: isProcessing() }"><i class="fa fa-tags"></i></button> |
| 31 | + --> |
30 | 32 | <button class="btn btn-primary" |
31 | 33 | data-bind="visible: !previewVersion(), title: ko.i18n('cohortDefinitions.cohortDefinitionManager.createCopyCohortTitle', 'Create a copy of this cohort definition'), click: copy, enable: canCopy() && !isProcessing()"><i |
32 | 34 | class="fa fa-copy"></i></button> |
| 35 | + <!-- Hide this not-so-useful part and make the page more 508 compliant: |
33 | 36 | <button class="btn btn-primary" |
34 | 37 | data-bind="visible: !previewVersion(), title: ko.i18n('cohortDefinitions.cohortDefinitionManager.getLinkCohortTitle', 'Get a link to this cohort definition'), enable: !dirtyFlag().isDirty() && !isProcessing(), click: function () { $component.cohortLinkModalOpened(true) }"><i class="fa fa-link"></i></button> |
| 38 | + --> |
35 | 39 |
|
36 | 40 | <!-- ko if: (enablePermissionManagement() === true && userCanShare() === true) --> |
37 | 41 | <button class="btn btn-primary" |
|
132 | 136 | <a role="tab" data-bind="text: ko.i18n('cohortDefinitions.cohortDefinitionManager.panels.json', 'JSON')"></a> |
133 | 137 | </li> |
134 | 138 |
|
| 139 | + <!-- Hide this not-so-useful part and make the page more 508 compliant: |
135 | 140 | <li role="presentation" |
136 | 141 | data-bind="css: { active: $component.exportTabMode() == 'sql' }, click: function() { $component.exportTabMode('sql');}"> |
137 | 142 | <a role="tab" data-bind="text: ko.i18n('cohortDefinitions.cohortDefinitionManager.panels.sql', 'SQL')"></a> |
138 | 143 | </li> |
| 144 | + --> |
139 | 145 | </ul> |
140 | 146 |
|
141 | 147 | <div class="tab-content"> |
|
0 commit comments