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
a2767769
Commit
a2767769
authored
Mar 15, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stub for related messages
parent
855dc117
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
html/translate.html
html/translate.html
+11
-0
media/js/loader.js
media/js/loader.js
+7
-0
No files found.
html/translate.html
View file @
a2767769
...
...
@@ -148,6 +148,17 @@
</table>
</form>
<h2>
{% trans "Translation context" %}
</h2>
<div
class=
"tabs"
>
<ul>
<li><a
href=
"#tab-nearby"
>
{% trans "Nearby messages" %}
</a></li>
<li><a
href=
"/js/similar/{{ unit.id }}/"
>
{% trans "Similar messages" %}
</a></li>
</ul>
<div
id=
"tab-nearby"
>
</div>
</div>
{% include "translation_info.html" %}
{% endblock %}
...
...
media/js/loader.js
View file @
a2767769
...
...
@@ -167,5 +167,12 @@ $(function() {
});
});
$
(
"
div.tabs
"
).
tabs
({
ajaxOptions
:
{
error
:
function
(
xhr
,
status
,
index
,
anchor
)
{
$
(
anchor
.
hash
).
html
(
gettext
(
"
AJAX request to load this content has failed!
"
));
}
}
});
});
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