mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-31 03:09:06 -04:00
* Remove unused bluecloth gem Last released in 2011. It was only required, never called; kramdown renders the markdown. * Add specs for Tilt markdown rendering and posts markdown partial * Remove rails_12factor gem Last released in 2014. Rails 5+ does this via RAILS_SERVE_STATIC_FILES and RAILS_LOG_TO_STDOUT, which production.rb already reads. * Remove memcachier gem from Gemfile and Gemfile.lock * Remove unused webrat gem Last released in 2011. Nothing requires it; the specs use Rails' assert_select and Capybara matchers. Only generator comments mention it. * Remove crowdin-cli gem Last released in 2018. Crowdin now ships its own standalone CLI, which reads crowdin.yml and doesn't need the gem. Also drops the dependencies only it used (rest-client, gli, crowdin-api and friends). * Removes the crowdin-cli gem (last released 2018), the dependencies only it needed, and crowdin.yml. Crowdin was never set up: the config still has a placeholder project ID and nothing else in the repo mentions it. Assisted by Claude * Remove newsletter functionality and associated views and tests * Remove newsletter functionality and related code across the application * keep the column * Remove stale test step * add back newsletter * Add migration to update newsletter column comment in members table --------- Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
- content_for :title, 'Admin'
|
|
|
|
- content_for :breadcrumbs do
|
|
%li.breadcrumb-item.active= link_to 'Admin', admin_path
|
|
|
|
%h1 Manage #{ENV['GROWSTUFF_SITE_NAME']}
|
|
|
|
.row
|
|
.col-md-4
|
|
.card
|
|
.card-header
|
|
%h2
|
|
= icon 'fas', 'tablet-alt'
|
|
Site admin
|
|
.card-body
|
|
%nav.nav#site_admin
|
|
%li= link_to "Roles", admin_roles_path, class: 'nav-link'
|
|
%li= link_to t('admin.features.index.title'), admin_features_path, class: 'nav-link'
|
|
%li= link_to "Forums", forums_path, class: 'nav-link'
|
|
%li= link_to t('.garden_types'), garden_types_path, class: 'nav-link'
|
|
|
|
.col-md-4
|
|
.card
|
|
.card-header
|
|
%h2
|
|
= icon 'fas', 'seedling'
|
|
Crop data admin
|
|
.card-body
|
|
%nav.nav#crop_admin
|
|
%li= link_to "Crop Wrangling", wrangle_crops_path, class: 'nav-link'
|
|
%li= link_to "Alternate names", alternate_names_path, class: 'nav-link'
|
|
%li= link_to "Scientific names", scientific_names_path, class: 'nav-link'
|
|
%li= link_to "Plant parts", plant_parts_path, class: 'nav-link'
|
|
%li= link_to "Crop job templates", admin_job_templates_path, class: 'nav-link'
|
|
|
|
.col-md-4
|
|
.card
|
|
.card-header
|
|
%h2
|
|
= icon 'fas', 'user'
|
|
Member admin
|
|
.card-body
|
|
%nav.nav#member_admin
|
|
%li= link_to "Members", admin_members_path, class: 'nav-link'
|