osem
osem copied to clipboard
add some if there is no upcoming conference
I do not know if this is the right place, but if there is no upcoming conference a paragraph telling that would be nice.
Otherwise people might think the page is broken/data unavailable.
I am just leaving a comment to say that this is a good first issue, if it is still needed. I just need to get over the hurdle of installation to get it into a dev environment to test it out and format it.
I found in https://github.com/openSUSE/osem/blob/master/app/views/conferences/index.html.haml Line 6 just by looking:
- @current.each do |conference|
= render '/conferences/conference_details', conference: conference
There needs to be something like:
- @current.each do |conference|
= render '/conferences/conference_details', conference: conference
- if @current.empty?
[TEXT HERE, Saying no upcoming conference]
@airbr How could we help you with the installation and first use of OSEM locally?
@differentreality I have cloned the repo, bundle installed, a few things, Im trying to run the app locally with bin/rails server
after running bin/rails db:create
and bin/rails db:migrate
but I keep getting errors in running the migrations. Ill document what I tried, but I also hacked around a fair bit trying to get the many migrations to pass. I might try again with a fresh install later.
@differentreality I was able to successfully install and make an admin user on a development server.
I ran into a few issues as I went, and I dont know if there is a best way to document them or if they were just the result of my troublesome setup issues
How does this look? I will fork and make a PR sometime
Maybe we should additionally hide the Add the events to your calendar buttons if there is no current conference? @differentreality