Skip to content

Commit

Permalink
Merge pull request #254 from kaushikvelusamy/main
Browse files Browse the repository at this point in the history
Resolved #237 - Removed "Browse Files" button "Download Zip" button
  • Loading branch information
gflofst authored Oct 3, 2023
2 parents b901777 + 2e6fa5d commit bda86c8
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions templates/Submissions/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,44 +279,7 @@
?>
</li>
<?php } ?>
<li>
<?php
echo $this->Html->link(
_('Browse Files'),
'https://io500.org/storage/' . $submission->information_list_name . '/' . str_replace('.zip', '', $submission->storage_data),
[
'target' => '_blank',
'class' => 'button'
]
);
?>
</li>
<li>
<?php
echo $this->Html->link(
_('Download ZIP'),
'https://io500.org/storage/' . $submission->information_list_name . '/' . $submission->storage_data,
[
'target' => '_blank',
'class' => 'button-highlight'
]
);
?>
</li>
</ul>

<?php if (empty($submitted_files)) { ?>
<p><?php echo _('No files were found for this submmision.'); ?></p>
<?php }?>

<dl>
<?php foreach ($submitted_files as $name => $file) { ?>
<dt class="file"><?php echo h($name); ?></dt>
<dd>
<pre class=code-block><?php echo $file; ?></pre>
</dd>
<?php } ?>
</dl>
</div>
</div>
</div>
Expand Down

0 comments on commit bda86c8

Please sign in to comment.