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
da3f993e
Commit
da3f993e
authored
Jul 23, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rearrange main page
- main content uses tabs - loads languages/checks listings via AJAX - issue #85
parent
f2c30b25
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
weblate/html/base.html
weblate/html/base.html
+6
-2
weblate/html/index.html
weblate/html/index.html
+15
-4
No files found.
weblate/html/base.html
View file @
da3f993e
{% load i18n %}
{% load url from future %}
{% if not request.is_ajax %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"{{ LANGUAGE_CODE }}"
lang=
"{{ LANGUAGE_CODE }}"
>
...
...
@@ -67,8 +68,12 @@
{% endfor %}
{% endif %}
{% endif %}
{% block content %}
{% endblock %}
{% if not request.is_ajax %}
</div>
<ul
class=
"footer"
>
<li>
{% blocktrans %}Powered by
<a
href=
"http://weblate.org"
>
Weblate {{ version }}
</a>
{% endblocktrans %}
</li>
...
...
@@ -78,5 +83,4 @@
</ul>
</body>
</html>
{% endif %}
weblate/html/index.html
View file @
da3f993e
...
...
@@ -10,17 +10,27 @@
</p>
{% endif %}
<h2>
{% trans "Translations" %}
</h2>
<div
class=
"tabs"
id=
"index-tabs"
>
<ul>
{% if usertranslations %}
<h2>
{% trans "Your translations" %}
</h2>
<li><a
href=
"#your"
>
{% trans "Your translations" %}
</a></li>
{% endif %}
<li><a
href=
"#projects"
>
{% trans "Projects" %}
</a></li>
<li><a
href=
"/languages/"
>
{% trans "Languages" %}
</a></li>
<li><a
href=
"/checks/"
>
{% trans "Checks" %}
</a></li>
</ul>
{% if usertranslations %}
<div
id=
"your"
>
{% with usertranslations as translations %}
{% include "list-translations.html" %}
{% endwith %}
</div>
{% endif %}
<h2>
{% trans "Projects" %}
</h2>
<div
id=
"projects"
>
<table
class=
"sort"
>
<thead>
<tr>
...
...
@@ -39,6 +49,7 @@
{% endfor %}
</tbody>
</table>
</div>
<h2>
{% trans "Summaries" %}
</h2>
...
...
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