Project

General

Profile

Refactor #4694

Use ui-sref-active instead of ng-class where appropriate

Added by Walden Raines over 5 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Branch:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

See http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.directive:ui-sref-active

We can then replace this:

<a class="{someClass: isState('blah')}" ui-sref="blah">Hello!</a>

with:

<a ui-sref-active="someClass" ui-sref="blah">Hello!</a>

Related issues

Copied from Katello - Bug #4692: Some pages missing a title and just state 'Katello'Closed2014-03-182014-03-27

History

#1 Updated by Walden Raines over 5 years ago

  • Copied from Bug #4692: Some pages missing a title and just state 'Katello' added

#2 Updated by Mike McCune over 5 years ago

  • Triaged set to Yes

#3 Updated by Mike McCune over 5 years ago

  • Triaged deleted (Yes)

#4 Updated by Eric Helms about 5 years ago

  • Triaged set to Yes

#5 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) set to 14

#6 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) changed from 14 to 23

#7 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) deleted (23)

#8 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF