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
196a42dc
Commit
196a42dc
authored
Sep 09, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure strings get translated and that interpolation is safe
parent
ce56e0d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/converse-controlbox.js
src/converse-controlbox.js
+1
-0
src/templates/login_panel.html
src/templates/login_panel.html
+3
-3
No files found.
src/converse-controlbox.js
View file @
196a42dc
...
...
@@ -382,6 +382,7 @@
initialize
(
cfg
)
{
cfg
.
$parent
.
html
(
this
.
$el
.
html
(
tpl_login_panel
({
'
__
'
:
__
,
'
ANONYMOUS
'
:
_converse
.
ANONYMOUS
,
'
EXTERNAL
'
:
_converse
.
EXTERNAL
,
'
LOGIN
'
:
_converse
.
LOGIN
,
...
...
src/templates/login_panel.html
View file @
196a42dc
<div
class=
"conn-feedback"
>
<p
class=
"feedback-subject {{
conn_feedback_class }}"
>
{{ conn_feedback_subject
}}
</p>
<p
class=
"feedback-message {{
conn_feedback_class }}"
>
{{ conn_feedback_message }}
</p>
<p
class=
"feedback-subject {{
{ conn_feedback_class }}}"
>
{{{ conn_feedback_subject }
}}
</p>
<p
class=
"feedback-message {{
{ conn_feedback_class }}}"
>
{{{ conn_feedback_message }}}
</p>
</div>
<form
class=
"pure-form pure-form-stacked converse-form"
id=
"converse-login"
method=
"post"
>
...
...
@@ -27,5 +27,5 @@
</form>
<form
class=
"pure-form pure-form-stacked converse-form"
id=
"converse-register"
method=
"post"
>
<p>
Don't have a chat account? You can
<a
class=
"register-account"
>
register an account
</a></p>
<p>
{{{ __("Don't have a chat account?") }}}
<a
class=
"register-account"
href=
"#register"
>
{{{__("Register an account here")}}}
</a></p>
</form>
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