Skip to content

Commit

Permalink
fix: project name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
deploy committed Apr 9, 2019
1 parent 2ee9667 commit 460a8aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/static/ops.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,13 +673,13 @@ function project_list(p){
for(var i=0,len=h.length; i<len; i++){

if(functype == "online"){
htm.push('<li ><a class="host_list" style="cursor:pointer;" data-project='+h[i]+'><i class="icon-user"></i>');
htm.push('<li ><a class="host_list" style="cursor:pointer;" data-project="'+h[i]+'"><i class="icon-user"></i>');
}
if(functype == "project_admin"){
htm.push('<li ><a class="host_list_admin" style="cursor:pointer;" data-project='+h[i]+'><i class="icon-user"></i>');
htm.push('<li ><a class="host_list_admin" style="cursor:pointer;" data-project="'+h[i]+'"><i class="icon-user"></i>');
}
if(functype == "online_log"){
htm.push('<li ><a class="online_log_time" style="cursor:pointer;" data-project='+h[i]+'><i class="icon-user"></i>');
htm.push('<li ><a class="online_log_time" style="cursor:pointer;" data-project="'+h[i]+'"><i class="icon-user"></i>');
}
htm.push('<p class="text-success">'+h[i]+'</p>');
htm.push('</a></li>');
Expand Down

0 comments on commit 460a8aa

Please sign in to comment.