Skip to content
Snippets Groups Projects
Commit 97c81afb authored by Steven Ayers's avatar Steven Ayers
Browse files

Issue #3381356 by bluegeek9: Location: browser language

parent 9be64001
No related branches found
No related tags found
1 merge request!140Resolve #3381356 "Location browser language"
Pipeline #213244 failed
Showing with 894 additions and 3 deletions
......@@ -55,7 +55,7 @@ variables:
OPT_IN_TEST_MAX_PHP: 1
# _PHPUNIT_CONCURRENT=1 uses run-tests.sh, 0 uses phpunit directly.
_PHPUNIT_CONCURRENT: 1
_CSPELL_IGNORE_PATHS: '"js/tracker.js","js/tracker.min.js"'
_CSPELL_IGNORE_PATHS: '"js/tracker.js","js/tracker.min.js","src/Service/LanguageService.php","src/Service/LocationService.php"'
#
# The 4 validation jobs below are explicit about their artifact. This is not strictly needed
......
......@@ -36,7 +36,7 @@ services:
chmod 2775 $DRUPAL_DOCROOT/sites/default/files
chmod -R g+w $DRUPAL_DOCROOT/sites/default/files
# Enable the module.
vendor/bin/drush --yes pm:enable visitors_geoip
vendor/bin/drush --yes pm:enable visitors
vendor/bin/drush cache:rebuild
vendor/bin/drush role:perm:add anonymous 'access visitors'
vendor/bin/drush config:set system.site page.front /visitors
......
This diff is collapsed.
......@@ -54,4 +54,23 @@ views.field.visitors_operating_system:
mapping:
icon:
type: boolean
label: 'The icon of the OS.'
\ No newline at end of file
label: 'The icon of the OS.'
views.field.visitors_country:
type: views_field
label: 'Visitors Country'
mapping:
icon:
type: boolean
label: 'The flag of the country.'
text:
type: boolean
label: 'The name of the country.'
views.field.visitors_language:
type: views_field
label: 'Visitors language'
mapping:
code:
type: boolean
label: 'Show the language code.'
\ No newline at end of file
icons/flags/a1.png

409 B

icons/flags/a2.png

409 B

icons/flags/ac.png

1.54 KiB

icons/flags/ad.png

726 B

icons/flags/ae.png

172 B

icons/flags/af.png

564 B

icons/flags/ag.png

702 B

icons/flags/ai.png

996 B

icons/flags/al.png

624 B

icons/flags/am.png

160 B

icons/flags/an.png

409 B

icons/flags/ao.png

568 B

icons/flags/ap.png

409 B

icons/flags/aq.png

496 B

icons/flags/ar.png

383 B

icons/flags/as.png

1.11 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment