1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-21 16:34:33 +00:00

[repo_file_star] modified icons and rm text feedback

This commit is contained in:
llj 2012-12-25 10:44:16 +08:00
parent 50db057172
commit 882f16b74f
3 changed files with 0 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 B

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 B

After

Width:  |  Height:  |  Size: 466 B

View File

@ -691,10 +691,8 @@ $('.file-star').click(function() {
success:function(data) { success:function(data) {
if (data['success']) { if (data['success']) {
if (state == 'starred') { if (state == 'starred') {
feedback('{% trans "Unstarred successfully" %}', 'success');
it.attr('src', '{{ MEDIA_URL }}img/gray-unstar-icon.png').attr('alt','{% trans 'Unstarred' %}').attr('title','{% trans 'Unstarred' %}').data('status','unstarred'); it.attr('src', '{{ MEDIA_URL }}img/gray-unstar-icon.png').attr('alt','{% trans 'Unstarred' %}').attr('title','{% trans 'Unstarred' %}').data('status','unstarred');
} else { } else {
feedback('{% trans "Starred successfully" %}', 'success');
it.attr('src', '{{ MEDIA_URL }}img/gray-star-icon.png').attr('alt','{% trans 'Starred' %}').attr('title','{% trans 'Starred' %}').data('status','starred'); it.attr('src', '{{ MEDIA_URL }}img/gray-star-icon.png').attr('alt','{% trans 'Starred' %}').attr('title','{% trans 'Starred' %}').data('status','starred');
} }
} else { } else {