Pi.Alert icon indicating copy to clipboard operation
Pi.Alert copied to clipboard

Spelling mistake in interface

Open WildWeasel109 opened this issue 3 years ago • 3 comments

Hi all,

I've come across a minor spelling mistake in the interface. If you select a device from the devices tab, the sessions button is missing an 's' and reports 'Sesions'.

Screenshot 2022-05-13 at 11 40 34

WildWeasel109 avatar May 13 '22 10:05 WildWeasel109

Seems to be fixed on the version I have installed.

cengbrecht avatar May 20 '22 02:05 cengbrecht

Found the line in devicedetails.php in code section with the error (line 59): div class="small-box-footer pa-small-box-footer"> Sesions

Couldn’t find a pull request for fix.

WildWeasel109 avatar May 20 '22 06:05 WildWeasel109

Looks like it's the release code for 3.02. I fixed the spelling mistake in my local deviceDetails.php as per below and it's now OK. How do I get this fixed for the future releases:

    <div class="col-lg-3 col-sm-6 col-xs-6">
      <a href="#" onclick="javascript: $('#tabSessions').trigger('click');">
        <div class="small-box bg-green pa-small-box-green pa-small-box-2">
          <div class="inner"> <h3 id="deviceSessions"> -- </h3> </div>
          <div class="icon"> <i class="fa fa-plug"></i> </div>
          <div class="small-box-footer pa-small-box-footer"> Sessions <i class="fa fa-arrow-circle-right"></i> </div>
        </div>
      </a>
    </div>

WildWeasel109 avatar May 20 '22 10:05 WildWeasel109