tazbug rev 58

Show mail in users dashboard
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 07 20:15:56 2014 +0100 (2014-01-07)
parents 519564b13314
children 9461f492dd13
files web/bugs.cgi web/plugins/dashboard/dashboard.cgi
line diff
     1.1 --- a/web/bugs.cgi	Tue Jan 07 20:07:43 2014 +0100
     1.2 +++ b/web/bugs.cgi	Tue Jan 07 20:15:56 2014 +0100
     1.3 @@ -474,19 +474,16 @@
     1.4  EOT
     1.5  }
     1.6  
     1.7 -
     1.8  # Close a fixed bug
     1.9  close_bug() {
    1.10  	sed -i s'/OPEN/CLOSED/' $bugdir/$id/bug.conf
    1.11  }
    1.12  
    1.13 -
    1.14  # Re open an old bug
    1.15  open_bug() {
    1.16  	sed -i s'/CLOSED/OPEN/' $bugdir/$id/bug.conf
    1.17  }
    1.18  
    1.19 -
    1.20  # Get and display Gravatar image: get_gravatar email size
    1.21  # Link to profile: <a href="http://www.gravatar.com/$md5">...</a>
    1.22  get_gravatar() {
    1.23 @@ -518,7 +515,6 @@
    1.24  MAIL="$mail"
    1.25  KEY="$key"
    1.26  
    1.27 -COMMUNITY="$(GET scn)"
    1.28  LOCATION="$(GET location)"
    1.29  RELEASES="$(GET releases)"
    1.30  PACKAGES="$(GET packages)"
     2.1 --- a/web/plugins/dashboard/dashboard.cgi	Tue Jan 07 20:07:43 2014 +0100
     2.2 +++ b/web/plugins/dashboard/dashboard.cgi	Tue Jan 07 20:15:56 2014 +0100
     2.3 @@ -6,7 +6,7 @@
     2.4  
     2.5  case " $(GET) " in
     2.6  	*\ users\ *)
     2.7 -		d="Dashboard"
     2.8 +		d="Users"
     2.9  		header
    2.10  		html_header
    2.11  		user_box
    2.12 @@ -26,7 +26,7 @@
    2.13  		do
    2.14  			. "${PEOPLE}/${u}/account.conf"
    2.15  			cat << EOT
    2.16 -$(get_gravatar $MAIL 24) <a href="?user=$USER">$USER</a> | $NAME
    2.17 +$(get_gravatar $MAIL 24) <a href="?user=$USER">$USER</a> | $NAME | $MAIL
    2.18  EOT
    2.19  # deluser link
    2.20  #: <a href="?users&amp;deluser=$USER">$(gettext "delete")</a>