Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SiB Notifications
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Startin blox
framework
SiB Notifications
Commits
ddb5808c
Commit
ddb5808c
authored
May 07, 2019
by
Matthieu Fesselier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syntax: rename author_user in author
parent
c633c878
Pipeline
#3440
passed with stage
in 27 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
css/notification.css
css/notification.css
+2
-2
sib-notifications.js
sib-notifications.js
+3
-3
No files found.
css/notification.css
View file @
ddb5808c
...
...
@@ -148,7 +148,7 @@ sib-display-value{
flex-grow
:
1
;
padding-right
:
0.8rem
;
}
.sib-notifications__items
[
name
=
"author
_user
.username"
]
{
.sib-notifications__items
[
name
=
"author.username"
]
{
font-weight
:
bold
;
font-size
:
1rem
;
}
...
...
@@ -161,7 +161,7 @@ sib-display-value{
color
:
#AAA
;
font-size
:
75%
;
}
.sib-notifications__items
[
name
=
"author
_user
.avatar"
]
{
.sib-notifications__items
[
name
=
"author.avatar"
]
{
display
:
block
;
width
:
30px
;
height
:
30px
;
...
...
sib-notifications.js
View file @
ddb5808c
...
...
@@ -123,10 +123,10 @@ class SIBNotifications extends SIBTemplateElement {
class="sib-notifications__items"
data-src="
${
sourceUrl
}
"
widget-unread="read-badge"
set-wrapper="author
_user
.username, type, date"
set-content="author
_user
.avatar, wrapper"
set-wrapper="author.username, type, date"
set-content="author.avatar, wrapper"
data-fields="unread, content"
widget-author
_user
.avatar="sib-display-img"
widget-author.avatar="sib-display-img"
paginate-by="10"></sib-display>
</div>
</details>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment