Dotclear

Changeset 3775:6c367dee2de0


Ignore:
Timestamp:
07/12/18 14:07:20 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add module description to title attribute of raw, hide description column on small displays (<= 1280px wide) ; should fixes #2268

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default-dark.css

    r3774 r3775  
    32273227 
    32283228  #wrapper { 
    3229     background: #272b30; } } 
     3229    background: #272b30; } 
     3230 
     3231  .modules th.module-desc, 
     3232  .modules td.module-desc { 
     3233    display: none; } } 
    32303234@media screen and (max-width: 44em) { 
    32313235  #help-button { 
  • admin/style/default.css

    r3774 r3775  
    32273227 
    32283228  #wrapper { 
    3229     background: #fff; } } 
     3229    background: #fff; } 
     3230 
     3231  .modules th.module-desc, 
     3232  .modules td.module-desc { 
     3233    display: none; } } 
    32303234@media screen and (max-width: 44em) { 
    32313235  #help-button { 
  • admin/style/scss/partials/_mediaqueries.scss

    r3764 r3775  
    1717  #wrapper { 
    1818    background: $wrapper-background; 
     19  } 
     20  .modules { 
     21    th.module-desc, 
     22    td.module-desc { 
     23      display: none;  // Module description is also in title of the raw 
     24    } 
    1925  } 
    2026} 
  • inc/admin/lib.moduleslist.php

    r3762 r3775  
    564564        if (in_array('desc', $cols)) { 
    565565            echo 
    566             '<th class="nowrap" scope="col">' . __('Details') . '</th>'; 
     566            '<th class="nowrap module-desc" scope="col">' . __('Details') . '</th>'; 
    567567        } 
    568568 
     
    601601 
    602602            echo 
    603             '<tr class="line" id="' . html::escapeHTML($this->list_id) . '_m_' . html::escapeHTML($id) . '">'; 
     603            '<tr class="line" id="' . html::escapeHTML($this->list_id) . '_m_' . html::escapeHTML($id) . '"' . 
     604                (in_array('desc', $cols) ? ' title="' . html::escapeHTML(__($module['desc'])) . '" ' : '') . 
     605                '>'; 
    604606 
    605607            $tds = 0; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map