Skip to content

Commit ae461ca

Browse files
committed
add btn back icon
1 parent 049cd9b commit ae461ca

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

main/work/view.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,15 @@
171171
if (isset($work['contains_file']) && !empty($work['contains_file'])) {
172172
if (isset($work['download_url']) && !empty($work['download_url'])) {
173173
$actions = Display::url(
174+
Display::return_icon(
175+
'back.png',
176+
get_lang('BackToWorksList'),
177+
null,
178+
ICON_SIZE_MEDIUM
179+
),
180+
api_get_path(WEB_CODE_PATH).'work/work.php?'.api_get_cidreq()
181+
);
182+
$actions .= Display::url(
174183
Display::return_icon(
175184
'save.png',
176185
get_lang('Download'),

0 commit comments

Comments
 (0)