From d6124e0117694c90d526b2b3ff26dc4008eaf8d0 Mon Sep 17 00:00:00 2001 From: Paul Van Eck Date: Thu, 25 Feb 2016 15:24:29 -0800 Subject: [PATCH] Update angular bootstrap components With the recent update to the angular-bootstrap version, a lot of components are deprecated and now expect a 'uib' prefix. This patch updates the components that were printing deprecation warnings in the console. The library angular-confirm-modal was also updated due to the older version also yielding similar deprecation warnings. Change-Id: I201c2709e03041fce431070910491eb425c1e383 --- bower.json | 2 +- .../partials/capabilityDetails.html | 6 ++--- .../components/profile/profileController.js | 26 ++++++++++--------- .../partials/reportDetails.html | 10 +++---- .../results-report/resultsReport.html | 4 +-- .../results-report/resultsReportController.js | 12 ++++----- .../app/components/results/results.html | 8 +++--- .../app/shared/alerts/alertModalFactory.js | 12 ++++----- refstack-ui/app/shared/header/header.html | 2 +- refstack-ui/tests/karma.conf.js | 1 - refstack-ui/tests/unit/ControllerSpec.js | 8 +++--- 11 files changed, 46 insertions(+), 45 deletions(-) diff --git a/bower.json b/bower.json index 2f33bf88..a0cc152a 100644 --- a/bower.json +++ b/bower.json @@ -8,7 +8,7 @@ "angular-resource": "1.3.15", "angular-bootstrap": "0.14.3", "angular-busy": "4.1.3", - "angular-confirm-modal": "1.1.0", + "angular-confirm-modal": "1.2.3", "bootstrap": "3.3.2" }, "devDependencies": { diff --git a/refstack-ui/app/components/capabilities/partials/capabilityDetails.html b/refstack-ui/app/components/capabilities/partials/capabilityDetails.html index 12cf5b3b..ef38c4e7 100644 --- a/refstack-ui/app/components/capabilities/partials/capabilityDetails.html +++ b/refstack-ui/app/components/capabilities/partials/capabilityDetails.html @@ -11,14 +11,14 @@ variable 'capabilities'. Status: {{ctrl.targetCapabilities[capability.id]}}
Project: {{capability.project | capitalize}}
Achievements ({{capability.achievements.length}})
-
    +
    1. {{achievement}}
    Tests ({{ctrl.getObjectLength(capability.tests)}}) -