Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
be833631
Commit
be833631
authored
Oct 07, 2020
by
Bernard Ngandu
Committed by
GitHub
Oct 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1829 add color for different omemo state (#2260)
* #1829 css var instead of hard coded colors
parent
846ef068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/converse-omemo.js
src/converse-omemo.js
+1
-0
No files found.
src/converse-omemo.js
View file @
be833631
...
@@ -502,6 +502,7 @@ function getOMEMOToolbarButton (toolbar_el, buttons) {
...
@@ -502,6 +502,7 @@ function getOMEMOToolbarButton (toolbar_el, buttons) {
@click=
${
toggleOMEMO
}
>
@click=
${
toggleOMEMO
}
>
<converse-icon class="fa
${
model
.
get
(
'
omemo_active
'
)
?
`fa-lock`
:
`fa-unlock`
}
"
<converse-icon class="fa
${
model
.
get
(
'
omemo_active
'
)
?
`fa-lock`
:
`fa-unlock`
}
"
path-prefix="
${
api
.
settings
.
get
(
'
assets_path
'
)}
" size="1em"
path-prefix="
${
api
.
settings
.
get
(
'
assets_path
'
)}
" size="1em"
color="
${
model
.
get
(
'
omemo_active
'
)
?
`var(--info-color)`
:
`var(--error-color)`
}
"
></converse-icon>
></converse-icon>
</button>`
</button>`
);
);
...
...
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