Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-create Raintale GUI's Download button #34

Closed
himarshaj opened this issue Sep 13, 2021 · 2 comments
Closed

Re-create Raintale GUI's Download button #34

himarshaj opened this issue Sep 13, 2021 · 2 comments
Assignees

Comments

@himarshaj
Copy link
Member

Refer to oduwsdl/hypercane#51.

@himarshaj
Copy link
Member Author

himarshaj commented Oct 21, 2021

A button to download the final output will be useful for the below scripts.

  • Create HTML Story From Preset
  • Create Story From Template
  • Create Video Story

However, for social media stories (Twitter & Facebook), we could provide a direct link to the post maybe through the share button?

@shawnmjones
Copy link
Member

shawnmjones commented Oct 21, 2021

Maybe the share button only shows up if they chose a social media story.

I've discovered how to extract the script file name with job_info.job.script_version.script.script_name. See what I've done for Hypercane here, where it changes the buttons based on which script was run:

https://github.com/oduwsdl/hypercane/blob/72efecb7b2ecd7d6734e77d0c0d88fa2af150973/hypercane-gui/templates/jobs/job_view.html#L51-L102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants