Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
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
b006a06d
authored
Feb 26, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: show share description
parent
91766601
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
one/static/script/cloud.js
+13
-0
one/static/style/box.less
+5
-0
one/templates/box/template/box.html
+1
-7
No files found.
one/static/script/cloud.js
View file @
b006a06d
...
...
@@ -191,6 +191,19 @@ $(function() {
$
(
this
).
removeClass
(
'shown'
);
}
});
$
(
'.shares li'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
e
=
$
(
this
);
if
(
!
e
.
hasClass
(
'description'
)){
if
(
e
.
next
().
is
(
':hidden'
)
&&
e
.
next
().
html
()
!=
''
){
e
.
next
().
slideDown
(
700
);
}
else
{
e
.
next
().
slideUp
(
700
);
}
}
else
{
e
.
slideUp
(
700
);
}
})
$
(
'.selected-summary'
).
next
().
show
();
/**
* Connect button new window
...
...
one/static/style/box.less
View file @
b006a06d
...
...
@@ -611,6 +611,11 @@ table {
height: 30px;
right: -5px;
}
&.description {
height: default;
display: none;
font-size: 0.8em;
}
}
}
...
...
one/templates/box/template/box.html
View file @
b006a06d
...
...
@@ -83,13 +83,7 @@
</form>
<div
class=
"clear"
></div>
</li>
<li
class=
"description"
>
{% if i.description %}
{{i.description}}
{% else %}
{% trans "No description available" %}
{% endif %}
</li>
<li
class=
"description"
>
{{i.description}}
</li>
{% endfor %}
</ul>
{% 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