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

exit search loop when tool asset css file is found #1537

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

nkissebe
Copy link
Contributor

Just like the previous PR the search for the css file to serve doesn't stop at the first match like it should. Also it searches in the wrong path in the template directory (should be within a css directory).

This task is only used when exportfile and importfile in a hub workspace is called. This triggers a pop up window which loads a file transfer dialog whose styling can be override by the css file delivered by this task. The task exists rather than direct access because it is awkward to pass in the hub template name for exportfile to use. For a long time we used the awkward method but it broke a while back and I came up with this method but never deployed it. It is time to deploy it now. At least for nanohub which already has this fix in its com_tools component override.

@erichhuebner
Copy link
Contributor

From our discussion - site_css.css to be stored in top-level css directory.

look for importfile/exportfile css and image files in toplevel
template directory
@erichhuebner erichhuebner merged commit a31f029 into hubzero:dev Sep 23, 2021
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

Successfully merging this pull request may close these issues.

2 participants