{"id":24093238,"url":"https://github.com/umd-lib/umd-lib-aspace-theme","last_synced_at":"2025-02-27T10:47:43.396Z","repository":{"id":37561656,"uuid":"88178555","full_name":"umd-lib/umd-lib-aspace-theme","owner":"umd-lib","description":"ArchivesSpace plugin for UMD Libraries theme elements","archived":false,"fork":false,"pushed_at":"2024-09-18T13:41:56.000Z","size":724,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-10T09:25:58.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umd-lib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-13T15:17:29.000Z","updated_at":"2024-08-23T15:36:17.000Z","dependencies_parsed_at":"2024-03-06T14:05:56.548Z","dependency_job_id":null,"html_url":"https://github.com/umd-lib/umd-lib-aspace-theme","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fumd-lib-aspace-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fumd-lib-aspace-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fumd-lib-aspace-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fumd-lib-aspace-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umd-lib","download_url":"https://codeload.github.com/umd-lib/umd-lib-aspace-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241005361,"owners_count":19892779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-10T09:26:20.524Z","updated_at":"2025-02-27T10:47:43.377Z","avatar_url":"https://github.com/umd-lib.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# umd-lib-aspace-theme\n\nArchivesSpace plugin for UMD Libraries theme elements, and customizations to\nstock ArchivesSpace files.\n\n## UMD Customizations\n\nSections modified by UMD customizations in overridden ArchivesSpace files, are\ndelineated by comments `UMD Customization` / `End UMD Customization`.\n\nCustomizations are described in:\n\n* [ArchivesSpace Customizations - Staff Interface](docs/StaffInterfaceCustomizations.md)\n* [ArchivesSpace Customizations - Public Interface](docs/PublicInterfaceCustomizations.md)\n\n## Web Analytics\n\nThe Matomo Web analytics tracker has been integrated into the default page\nlayout.\n\nThe tracker is activated by specifying the following parameters in the\nArchivesSpace \"AppConfig\" object, for retrieval in the ERB templates.\nIf they are not provided the tracker will not be added to the layout.\n\n* `AppConfig[:matomo_analytics_url]` - The Matomo URL for the site\n* `AppConfig[:matomo_analytics_site_id]` - The Matomo site id\n\n## Environment Banner\n\nPer the SSDR policy specified in \u003chttps://confluence.umd.edu/display/LIB/Create+Environment+Banners\u003e\nan environment banner should be shown on all non-production systems.\n\nThe display of the environment banner is handled by the\nUMDLibEnvironmentBannerHelper module, which uses one of two mechanisms to\ndetermine the banner to display:\n\n* Environment variables\n* Hostname/Rails environment\n\nThe environment variables, if specified, take precedence over the hostname\nbanner.\n\n### Environment variables\n\nThe text and color of the banner can be controlled by the following environment\nvariables:\n\n* ENVIRONMENT_BANNER - The text to display\n* ENVIRONMENT_BANNER_BACKGROUND - The background color of the banner, expressed\nas a CSS color (i.e., \"#ff0000\" for red).\n* ENVIRONMENT_BANNER_FOREGROUND - The foreground (text) color of the banner,\nexpressed as a CSS color (i.e., \"#ff0000\" for red).\n* ENVIRONMENT_BANNER_ENABLED - optional parameter. If set to \"false\" the banner\nwill not be displayed.\n\n## Hostname/Rails environment\n\nDetermines the banner to display based on the hostname or Rails environment.\n\nSets the banner to the following environments:\n\n* Local - if hostname matches \"local\" or Rails.env.development?, or\nRails.env.vagrant? return true\n* Development - if hostname matches \"dev\"\n* Staging - if hostname matches \"stage\"\n\nA hostname matches if the first segment of the hostname ends with the given\nstring, i.e. \"foo-dev.example.com\", \"foo-dev\", and \"dev\" all match for\n\"Development\".\n\n## Running the Tests\n\nThe ArchivesSpace plugin test runner can be used to run the tests:\n\n```bash\n$ build/run frontend:test:plugin\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fumd-lib-aspace-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumd-lib%2Fumd-lib-aspace-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fumd-lib-aspace-theme/lists"}