Commit 565f45527705fe7a3a911919878e78297098dc9d
1 parent
f476a761
Exists in
staging
and in
42 other branches
Cosmetics
* Explicitly name the "Icon" column
* Remove annoying scroll from links edition
* Point the browser to the top of the page. This way when I edit a block
that is far down I am sent to the place where the popup appears with
the edit screen
(ActionItem1428)
Showing
3 changed files
with
2 additions
and
7 deletions
Show diff stats
app/views/box_organizer/_link_list_block.rhtml
| 1 | 1 | <strong><%= _('Links') %></strong> |
| 2 | 2 | <div id='edit-link-list-block'> |
| 3 | 3 | <table id='links' class='noborder'> |
| 4 | - <tr><th></th><th><%= _('Name') %></th><th><%= _('Address') %></th></tr> | |
| 4 | + <tr><th><%= _('Icon') %></th><th><%= _('Name') %></th><th><%= _('Address') %></th></tr> | |
| 5 | 5 | <% for link in @block.links do %> |
| 6 | 6 | <tr> |
| 7 | 7 | <td> | ... | ... |
public/javascripts/lightbox.js
public/stylesheets/application.css
| ... | ... | @@ -1514,12 +1514,6 @@ input.disabled { |
| 1514 | 1514 | } |
| 1515 | 1515 | |
| 1516 | 1516 | /* ==> blocks/link-list-block.css <<= */ |
| 1517 | - | |
| 1518 | -#edit-link-list-block { | |
| 1519 | - overflow: auto; | |
| 1520 | - overflow-x: hidden; | |
| 1521 | - height: 120px; | |
| 1522 | -} | |
| 1523 | 1517 | |
| 1524 | 1518 | #edit-link-list-block table { |
| 1525 | 1519 | width: 100%; | ... | ... |