osem icon indicating copy to clipboard operation
osem copied to clipboard

add some if there is no upcoming conference

Open peterdd opened this issue 4 years ago • 6 comments

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.

grafik

peterdd avatar Jan 02 '21 03:01 peterdd

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 avatar Dec 16 '22 02:12 airbr

@airbr How could we help you with the installation and first use of OSEM locally?

differentreality avatar Dec 20 '22 13:12 differentreality

@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.

airbr avatar Dec 20 '22 21:12 airbr

@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

airbr avatar Dec 20 '22 22:12 airbr

How does this look? I will fork and make a PR sometime

Screen Shot 2022-12-20 at 2 25 03 PM

airbr avatar Dec 20 '22 22:12 airbr

Maybe we should additionally hide the Add the events to your calendar buttons if there is no current conference? @differentreality

airbr avatar Dec 20 '22 22:12 airbr