Skip to content

Commit

Permalink
Misc updates
Browse files Browse the repository at this point in the history
Links to media in the report now use targer = blank
  • Loading branch information
abrignoni committed Feb 6, 2023
1 parent d463a2a commit b6bbbf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/ilapfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ def relative_paths(source, splitter):
if 'video' in mimetype:
thumb = f'<video width="320" height="240" controls="controls"><source src="{source}" type="video/mp4">Your browser does not support the video tag.</video>'
elif 'image' in mimetype:
thumb = f'<img src="{source}"width="300"></img>'
thumb = f'<a href="{source}" target="_blank"><img src="{source}"width="300"></img></a>'
elif 'audio' in mimetype:
thumb = f'<audio controls><source src="{source}" type="audio/ogg"><source src="{source}" type="audio/mpeg">Your browser does not support the audio element.</audio>'
else:
thumb = f'<a href="{source}"> Link to {mimetype} </>'
thumb = f'<a href="{source}" target="_blank"> Link to {mimetype} </>'
return thumb

def kmlgen(report_folder, kmlactivity, data_list, data_headers):
Expand Down
2 changes: 1 addition & 1 deletion scripts/version_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aleapp_version = '3.1.5'
aleapp_version = '3.1.6'

# Contributors List
# Format = [ Name, Blog-url, Twitter-handle, Github-url]
Expand Down

0 comments on commit b6bbbf1

Please sign in to comment.