fix profile URLs

This commit is contained in:
Brian Smith 2013-04-28 15:09:30 -04:00
parent 2979ccdb62
commit e7b581b42c
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@
var searchResultHtml = context.JK.fillTemplate(template, {
userId: val.id,
avatar_url: context.JK.resolveAvatarUrl(val.photo_url),
profile_url: "/#/musicians/" + val.id,
profile_url: "/#/profile/" + val.id,
userName: val.name,
location: val.location,
instruments: getInstrumentHtml(val.instruments)
@ -58,7 +58,7 @@
var invitationSentHtml = context.JK.fillTemplate(template, {
userId: val.id,
first_name: val.first_name,
profile_url: "/#/musicians/" + val.id
profile_url: "/#/profile/" + val.id
});
$('#search-results').append(invitationSentHtml);

View File

@ -180,7 +180,7 @@
var searchResultHtml = context.JK.fillTemplate(template, {
userId: val.id,
avatar_url: context.JK.resolveAvatarUrl(val.photo_url),
profile_url: "/#/musicians/" + val.id,
profile_url: "/#/profile/" + val.id,
userName: val.name,
location: val.location
});
@ -192,7 +192,7 @@
var invitationSentHtml = context.JK.fillTemplate(template, {
userId: val.id,
first_name: val.first_name,
profile_url: "/#/musicians/" + val.id
profile_url: "/#/profile/" + val.id
});
$('#sidebar-search-results').append(invitationSentHtml);