# Custom notices on session card while a job is starting

**URL:** <https://discourse.openondemand.org/t/custom-notices-on-session-card-while-a-job-is-starting/4342>\
**Category:** Get Help\
**Tags:** question\
**Created:** [July 7, 2025, 7:12pm UTC](https://discourse.openondemand.org/t/custom-notices-on-session-card-while-a-job-is-starting/4342 "2025-07-07T19:12:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kstine](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/kstine/32/2539_2.png) [@kstine](https://discourse.openondemand.org/u/kstine)\
**Post date:** [July 7, 2025, 7:12pm UTC](https://discourse.openondemand.org/t/custom-notices-on-session-card-while-a-job-is-starting/4342/1 "2025-07-07T19:12:14Z")

</div>

Is it possible to have custom startup notices on the session card while a job is starting? We have a complicated job script that sometimes takes upwards of 10-15 minutes to finish intializing, and we’d like to be able to tell users what is actually happening in the background.

We’ve gotten a couple complaints that they think their job has stalled, when it actually is still loading. Is it possible to set updated notices at specific points in the `script.sh.erb` file?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 7, 2025, 7:54pm UTC](https://discourse.openondemand.org/t/custom-notices-on-session-card-while-a-job-is-starting/4342/2 "2025-07-07T19:54:08Z")

</div>

You can provide an `info.md.erb` to the application and it’ll render in the card, though I’m not 100% sure if it shows in the `Starting` state.

If that doesn’t work, you can provide override the partial that is the card body with these directions:

> **[Customizations — Open OnDemand 4.0.0 documentation](https://osc.github.io/ood-documentation/latest/customizations.html#overriding-pages)**

Here’s the file that we ship. Not sure which one you’d want to replace but it’s likely here somewhere.

> <https://github.com/OSC/ondemand/blob/v4.0.5/apps/dashboard/app/views/batch_connect/sessions/card/_card_body.html.erb>

---

<div class="post-metadata">

**Author:** ![kstine](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/kstine/32/2539_2.png) [@kstine](https://discourse.openondemand.org/u/kstine)\
**Post date:** [July 7, 2025, 8:02pm UTC](https://discourse.openondemand.org/t/custom-notices-on-session-card-while-a-job-is-starting/4342/3 "2025-07-07T20:02:42Z")

</div>

> [@jeff.ohrstrom](#):
>
> [Customizations — Open OnDemand 4.0.0 documentation](https://osc.github.io/ood-documentation/latest/customizations.html#overriding-pages)

Ah, so we’d need to change it at the global level, not the app level?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 7, 2025, 8:20pm UTC](https://discourse.openondemand.org/t/custom-notices-on-session-card-while-a-job-is-starting/4342/4 "2025-07-07T20:20:29Z")

</div>

The `info.md.erb` is for the application.

As to changing the partial for the card - yes this is global, but since it’s ERB (embedded ruby) you should be able toggle in some if/else block so it only applies to that one app.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [January 3, 2026, 8:21pm UTC](https://discourse.openondemand.org/t/custom-notices-on-session-card-while-a-job-is-starting/4342/5 "2026-01-03T20:21:11Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
