jobdone-shared-files 0.0.1-beta.75 → 0.0.1-beta.76
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/ProjectManagement/projectNavbar.vue +8 -11
- package/README.md +2 -1
- package/package.json +1 -1
|
@@ -57,11 +57,8 @@
|
|
|
57
57
|
<nav class="navbar-nav navbar-main navbar-line navbar-line-lg ms-auto">
|
|
58
58
|
<div class="nav-item navbar-line-item btn nav-link border-0 dropdown">
|
|
59
59
|
<a class="dropdown-link" :href="rootDomain + 'Profile'">
|
|
60
|
-
<div class="thumbnail-content thumbnail-32 rounded-circle me-1" :style="'background-image: url(' +
|
|
61
|
-
<span class="text-user-name text-overflow">{{
|
|
62
|
-
<small class="d-flex ms-1">
|
|
63
|
-
(<span class="text-user-name text-overflow">{{userInfo.lastName}} {{userInfo.firstName}}</span>)
|
|
64
|
-
</small>
|
|
60
|
+
<div class="thumbnail-content thumbnail-32 rounded-circle me-1" :style="'background-image: url(' + userPicture + ');'"></div>
|
|
61
|
+
<span class="text-user-name text-overflow">{{userId}}</span>
|
|
65
62
|
</a>
|
|
66
63
|
</div>
|
|
67
64
|
<div class="nav-item navbar-line-item btn nav-link border-0 dropdown">
|
|
@@ -136,8 +133,12 @@
|
|
|
136
133
|
type: String,
|
|
137
134
|
required: true
|
|
138
135
|
},
|
|
139
|
-
|
|
140
|
-
type:
|
|
136
|
+
userId: {
|
|
137
|
+
type: String,
|
|
138
|
+
required: true
|
|
139
|
+
},
|
|
140
|
+
userPicture: {
|
|
141
|
+
type: String,
|
|
141
142
|
required: true
|
|
142
143
|
},
|
|
143
144
|
logOutLink: {
|
|
@@ -263,8 +264,4 @@
|
|
|
263
264
|
padding-left: 5.25rem;
|
|
264
265
|
padding-right: 1rem;
|
|
265
266
|
}
|
|
266
|
-
|
|
267
|
-
.text-user-name{
|
|
268
|
-
max-width: 5.5rem;
|
|
269
|
-
}
|
|
270
267
|
</style>
|
package/README.md
CHANGED
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
| project-id | project id | 是 |
|
|
58
58
|
| api-project-apps | 取得 project module & menu | 是 |
|
|
59
59
|
| api-project-info | 取得 project 資訊 | 是 |
|
|
60
|
-
| user-
|
|
60
|
+
| user-id | 傳入 user 的帳號 id | 是 |
|
|
61
|
+
| user-picture | 傳入 user 的大頭貼 | 是 |
|
|
61
62
|
| log-out-link | 登出連結 | 是 |
|
|
62
63
|
|
|
63
64
|
|