diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7c4acc61c..4eaf84daa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ # Contributing to TeSS -While TeSS was originally developed to serve as the training portal for [ELIXIR](https://www.elixir-europe.org/), it endeavours to be a generic training platform that can be easily customized and re-used in other communities. +While TeSS was originally developed to serve as the training portal for [ELIXIR](https://www.elixir-europe.org/), it endeavours to be a generic training platform that can be easily customized and reused in other communities. To that end we welcome and encourage new contributors to get involved and help to shape and improve TeSS. This document discusses and explains different ways you can contribute to TeSS. You can find a code checklist at the end of this document to summarize the important points. diff --git a/app/assets/javascripts/map.js b/app/assets/javascripts/map.js index 8efde07b9..c71f226eb 100644 --- a/app/assets/javascripts/map.js +++ b/app/assets/javascripts/map.js @@ -356,7 +356,7 @@ var EventsMap = { var getTab = function () { var tab = window.location.hash; if (tab) { - return tab.substring(1) /* stip hash */ + return tab.substring(1) /* strip hash */ } else { return '' } diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index f3974e377..f7fe43481 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -493,7 +493,7 @@ ul.unstyled { border: none; } -/* The max width is dependant on the container (more info below) */ +/* The max width is dependent on the container (more info below) */ .popover { max-width: 500px !important; /* Max Width of the popover (depending on the container!) */ } diff --git a/app/models/event.rb b/app/models/event.rb index 571acf006..5b10940e4 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -388,7 +388,7 @@ def geocoding_cache_lookup redis = Redis.new(url: TeSS::Config.redis_url) if redis.exists?(location) self.latitude, self.longitude = JSON.parse(redis.get(location)) - Rails.logger.info("Re-using: #{location}") + Rails.logger.info("Reusing: #{location}") end rescue Redis::BaseError => e raise e unless Rails.env.production? diff --git a/app/views/common/_topic_suggestions.html.erb b/app/views/common/_topic_suggestions.html.erb index b524ee5ff..ce429ae07 100644 --- a/app/views/common/_topic_suggestions.html.erb +++ b/app/views/common/_topic_suggestions.html.erb @@ -9,7 +9,7 @@
- <%= sugestion.material.description %> + <%= suggestion.material.description %>
diff --git a/app/views/content_providers/partials/_content_provider_info.html.erb b/app/views/content_providers/partials/_content_provider_info.html.erb index cb03f5276..79cc6efca 100644 --- a/app/views/content_providers/partials/_content_provider_info.html.erb +++ b/app/views/content_providers/partials/_content_provider_info.html.erb @@ -9,7 +9,7 @@ Variable that should be available