slitaz-forge rev 658
scn: fix bug urls
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 23 02:40:02 2017 +0100 (2017-02-23) |
parents | 5481c43d5d21 |
children | 2b38b7489a33 |
files | scn/plugins/mybugs/user.sh |
line diff
1.1 --- a/scn/plugins/mybugs/user.sh Thu Feb 23 02:19:22 2017 +0100 1.2 +++ b/scn/plugins/mybugs/user.sh Thu Feb 23 02:40:02 2017 +0100 1.3 @@ -39,8 +39,8 @@ 1.4 message="$(fgrep MSG= $msg | cut -d \" -f 2 | cut -c 1-40)" 1.5 cat << EOT 1.6 <img src='images/bug.png' alt='' /> \ 1.7 -<a href="?id=$id">Bug $id:</a> <span class="date">$DATE</span> \ 1.8 -<a href="?id=$id#msg${msgid}">${message}...</a> 1.9 +<a href="${url}?id=$id">Bug $id:</a> <span class="date">$DATE</span> \ 1.10 +<a href="${url}?id=$id#msg${msgid}">${message}...</a> 1.11 EOT 1.12 done 1.13 echo "</pre>" 1.14 @@ -52,7 +52,7 @@ 1.15 echo "<a href='?mybugs&user=$user'>$(gettext 'View all my bugs and messages')</a>" 1.16 else 1.17 echo "$(gettext 'View all my bugs and debug messages on:') " 1.18 - echo "<a href='?mybugs&user=$user'>bugs.slitaz.org</a>" 1.19 + echo "<a href='${url}?mybugs&user=$user'>bugs.slitaz.org</a>" 1.20 fi 1.21 echo "</p>" 1.22 fi