Skip to content

Commit

Permalink
Simplified results pages, and fixed bug with file usage not being set…
Browse files Browse the repository at this point in the history
… properly
  • Loading branch information
spficklin committed Nov 10, 2019
1 parent 4e27394 commit bf3a95e
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 147 deletions.
1 change: 1 addition & 0 deletions includes/tripal_galaxy.admin_files.inc
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ function tripal_galaxy_admin_add_file_form_submit($form, &$form_state) {
$file = file_load($file_upload);
$filename = $file->filename;
$fields['filename'] = $filename;
file_usage_add($file, 'tripal_galaxy', 'site-wide', 0);
// Move the file out of the user upload directory that the Tripal
// upload tool uses and into a new directory that is site-specific
// rather than user-specific.
Expand Down
10 changes: 10 additions & 0 deletions theme/css/tripal_galaxy.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,14 @@

.tripal-galaxy-fieldset .fieldset-description {
color: #0099ff;
}

.tripal-galaxy-file-peek {
overflow: auto;
max-width: 500px;
}

.tripal-galaxy-submission-table tr.odd .form-item,
.tripal-galaxy-submission-table tr.even .form-item {
white-space: normal;
}
Loading

0 comments on commit bf3a95e

Please sign in to comment.