snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Wrong Label-Icons (varies on different languages)

Open drebouta opened this issue 8 years ago • 0 comments

Expected Behavior (or desired behavior if a feature request)

The Icons at url.com/hardware should show:

  • Blue-Circle Icon for Deployed Assets
  • Green-Circle Icon for Ready to Deploy Assets
  • Red-Cross Icon for Archived, Lost ... Assets

Actual Behavior

On every change I made, I ran php artisan config:clear + php artisan config:clear and cleared the cookies, so no caching Issue. This problem was already reported in #4099 - and now behaves a bit different. This only happens on the table shown at url.com/hardware. If you look into the Asset Page, url.com/hardware/id the labels show the correct Icon!

  1. Having APP_LOCALE=de in the ".env" File and language set to "German" in user settings results in:
  • (correct behavior) deployed Assets show a blue-circle and the new Label aside of it
  • (incorrect behavior) ready to deploy Assets show a red-cross
  1. Having APP_LOCALE=en in the ".env" File and language set to "German" in user settings results in:
  • (incorrect behavior) deployed Assets show a red-cross and NO label "deployed" aside of it
  • (incorrect behavior) ready to deploy Assets show a red-cross
  1. Having APP_LOCALE=en in the ".env" File and language set to "English, UK" in user settings results in:
  • (correct behavior) deployed Assets show a blue-circle and the new Label aside of it
  • (correct behavior) ready to deploy Assets show a circle and the defined color
  1. Having APP_LOCALE=de in the ".env" File and language set to "English, UK" in user settings results in:
  • Same as (2.)

Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

  • Is this a fresh install or an upgrade?

Upgrade

  • Version of Snipe-IT you're running

Version v4.1.10 - build 3249 (master)

  • Version of PHP you're running

7.1.12

  • Version of MySQL/MariaDB you're running

mysql --version = "Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1"

  • What OS and web server you're running Snipe-IT on

cat /etc/centos-release = "CentOS Linux release 7.4.1708 (Core)"

  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)

install.sh

  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error

No.

  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error

url.com/hardware

  • If a stacktrace is provided in the error, include that too.

No.

  • Any errors that appear in your browser's error console.

No.

  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.

Yes but only part (2.), since I have no acces to the .env file to test the other points

  • Include any additional information you can find in storage/logs and your webserver's logs.

No erros since November.

  • Include what you've done so far in the installation, and if you got any error messages along the way.

Nothing other than mentioned above.

  • Indicate whether or not you've manually edited any data directly in the database

No.

drebouta avatar Jan 22 '18 09:01 drebouta