@byu-oit/vue-decision-processing-components 9.0.7 → 9.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NoAuth.vue +6 -2
- package/UserInfo.vue +12 -2
- package/package.json +1 -1
- package/themes/ByuiHeader.vue +2 -2
package/NoAuth.vue
CHANGED
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
<p>You do not currently have access to this system. If you are an employee in the admissions
|
|
4
4
|
office, please contact your supervisor.</p>
|
|
5
5
|
<p class="mt-3">
|
|
6
|
-
You may have an expired session. Try <a href="
|
|
6
|
+
You may have an expired session. Try <a :href="loginPath">Signing in</a> again.
|
|
7
7
|
</p>
|
|
8
8
|
</section>
|
|
9
9
|
</template>
|
|
10
10
|
<script>
|
|
11
11
|
export default {
|
|
12
|
-
name: 'NoAuth'
|
|
12
|
+
name: 'NoAuth',
|
|
13
|
+
props: {
|
|
14
|
+
loginPath: String,
|
|
15
|
+
default: '/login'
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
</script>
|
package/UserInfo.vue
CHANGED
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
<span v-if="isLoggedIn">
|
|
19
19
|
{{userName}}
|
|
20
20
|
<font-awesome-icon :icon="userIcon" />
|
|
21
|
-
<a href="
|
|
21
|
+
<a :href="logoutPath">Sign Out</a>
|
|
22
22
|
</span>
|
|
23
23
|
<span v-else>
|
|
24
|
-
<a href="
|
|
24
|
+
<a :href="loginPath">Sign In</a>
|
|
25
25
|
</span>
|
|
26
26
|
</div>
|
|
27
27
|
</template>
|
|
@@ -32,6 +32,16 @@
|
|
|
32
32
|
|
|
33
33
|
export default {
|
|
34
34
|
name: 'UserInfo',
|
|
35
|
+
props: {
|
|
36
|
+
loginPath: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: '/login?success=/dashboard'
|
|
39
|
+
},
|
|
40
|
+
logoutPath: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: '/logout'
|
|
43
|
+
}
|
|
44
|
+
},
|
|
35
45
|
components: {
|
|
36
46
|
FontAwesomeIcon
|
|
37
47
|
},
|
package/package.json
CHANGED
package/themes/ByuiHeader.vue
CHANGED
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
<span class="page-title">
|
|
22
22
|
BYUI Decision Processing
|
|
23
23
|
</span>
|
|
24
|
-
<user-info />
|
|
24
|
+
<user-info login-path="/signin" logout-path="/signout"> />
|
|
25
25
|
|
|
26
26
|
<span class="spacer"></span>
|
|
27
|
-
<router-link to="/dashboard" tag="span" class="nav-link"><a>Dashboard</a></router-link>
|
|
27
|
+
<router-link to="/dashboard" tag="span" class="nav-link"><a>Dashboard</a></router-link>
|
|
28
28
|
<router-link to="/list/BI" tag="span" class="nav-link">
|
|
29
29
|
<a>Background Issues</a>
|
|
30
30
|
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.backgroundIssuesQueueSize }}</span>
|