diff --git a/media/css/seahub.css b/media/css/seahub.css index 704f32fca5..b10d40b266 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -3250,6 +3250,7 @@ button.sf-dropdown-toggle:focus { padding:20px; } .help-con img { + max-width:100%; margin:5px 0; } #right-panel.help-con .hd { diff --git a/media/js/base.js b/media/js/base.js index a50337da6c..ae4b7fb267 100644 --- a/media/js/base.js +++ b/media/js/base.js @@ -106,13 +106,13 @@ function addConfirmTo(op_ele, popup) { op_ele.click(function() { var con = ''; if ($(this).data('target') && popup['con'].indexOf('%s') != -1) { - con = popup['con'].replace('%s', '' + HTMLescape($(this).data('target')) + ''); + con = popup['con'].replace('%s', '' + HTMLescape($(this).data('target')) + ''); } else { con = popup['con']; } $('#confirm-con').html('
' + con + '
'); $('#confirm-popup').modal({appendTo:'#main'}); - $('#simplemodal-container').css({'height':'auto'}); + $('#simplemodal-container').css({'width': 'auto', 'height':'auto'}); $('#confirm-yes').data('url', $(this).data('url')).click(function() { if (popup.post) { // use form post $(' {% if notes %}{% trans "Notification Detail" %} | -{% trans "Operations" %} | -
---|---|
{% trans "Notification Detail" %} | +{% trans "Operations" %} | +
{{ note.message }} @@ -28,12 +32,13 @@ {% endif %} | {% if note.primary != 1 %} - {% trans "Set to current" %} + {% trans "Set to current" %} {% endif %} {% trans "Delete" %} |
{% trans "Empty" %}
@@ -44,17 +49,25 @@ {% endblock %} diff --git a/seahub/profile/templates/profile/set_profile.html b/seahub/profile/templates/profile/set_profile.html index 9a2a6bf9b1..bf82884fa8 100644 --- a/seahub/profile/templates/profile/set_profile.html +++ b/seahub/profile/templates/profile/set_profile.html @@ -76,7 +76,7 @@