Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3bc2eeda
authored
Feb 26, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: hide share description if not available
parent
b006a06d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
one/static/script/cloud.js
+1
-1
one/templates/box/template/box.html
+7
-1
No files found.
one/static/script/cloud.js
View file @
3bc2eeda
...
@@ -195,7 +195,7 @@ $(function() {
...
@@ -195,7 +195,7 @@ $(function() {
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
=
$
(
this
);
e
=
$
(
this
);
if
(
!
e
.
hasClass
(
'description'
)){
if
(
!
e
.
hasClass
(
'description'
)){
if
(
e
.
next
().
is
(
':hidden'
)
&&
e
.
next
().
html
()
!=
''
){
if
(
e
.
next
().
is
(
':hidden'
)){
e
.
next
().
slideDown
(
700
);
e
.
next
().
slideDown
(
700
);
}
else
{
}
else
{
e
.
next
().
slideUp
(
700
);
e
.
next
().
slideUp
(
700
);
...
...
one/templates/box/template/box.html
View file @
3bc2eeda
...
@@ -83,7 +83,13 @@
...
@@ -83,7 +83,13 @@
</form>
</form>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</li>
</li>
<li
class=
"description"
>
{{i.description}}
</li>
<li
class=
"description"
>
{% if i.description %}
{{i.description}}
{% else %}
{% trans "No description available" %}
{% endif %}
</li>
{% endfor %}
{% endfor %}
</ul>
</ul>
{% endif %}
{% endif %}
...
...
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