Skip to content

Commit

Permalink
SAKIII-4116 fix other missing spans
Browse files Browse the repository at this point in the history
  • Loading branch information
jsloane committed Oct 10, 2011
1 parent e742e09 commit ce28710
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions devwidgets/searchall/searchall.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
{/if} {/if}
</div> </div>
<div class="searchcontent_result_by"> <div class="searchcontent_result_by">
__MSG__BY__ <a class="s3d-regular-light-links searchcontent_result_username" href="/~${i['sakai:pool-content-created-for']|safeURL}" title="${i['sakai:pool-content-created-for']}">${i['sakai:pool-content-created-for']}</a> <span class="s3d-search-result-detail-separator"> | </span> __MSG__CHANGED__ ${jQuery.timeago(new Date(i._lastModified))} __MSG__BY__ <a class="s3d-regular-light-links searchcontent_result_username" href="/~${i['sakai:pool-content-created-for']|safeURL}" title="${i['sakai:pool-content-created-for']}">${i['sakai:pool-content-created-for']}</a> <span class="s3d-search-result-detail-separator"><span> | </span></span> __MSG__CHANGED__ ${jQuery.timeago(new Date(i._lastModified))}
</div> </div>
{if i["sakai:description"]}<div class="searchcontent_result_description">${i["sakai:description"]}</div>{/if} {if i["sakai:description"]}<div class="searchcontent_result_description">${i["sakai:description"]}</div>{/if}
<div class="searchcontent_result_usedin"> <div class="searchcontent_result_usedin">
Expand Down Expand Up @@ -151,11 +151,11 @@
<a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=library"> <a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=library">
${i.counts.contentCount || 0} {if i.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if} ${i.counts.contentCount || 0} {if i.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
</a> </a>
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=contacts" title="${i.counts.contactsCount}{if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if}"> <a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=contacts" title="${i.counts.contactsCount}{if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if}">
${i.counts.contactsCount || 0} {if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if} ${i.counts.contactsCount || 0} {if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if}
</a> </a>
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=memberships" title="${i.counts.membershipsCount}{if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}"> <a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=memberships" title="${i.counts.membershipsCount}{if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}">
${i.counts.membershipsCount || 0} {if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if} ${i.counts.membershipsCount || 0} {if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}
</a> </a>
Expand Down Expand Up @@ -205,12 +205,12 @@
__MSG__CHANGED__ ${jQuery.timeago(new Date(i.lastModified))} __MSG__CHANGED__ ${jQuery.timeago(new Date(i.lastModified))}
{var contentItemCount = i.counts.contentCount} {var contentItemCount = i.counts.contentCount}
{if contentItemCount > 0} {if contentItemCount > 0}
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a class="s3d-regular-light-links" href="${i.homePath}#l=library" title="${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}</a> <a class="s3d-regular-light-links" href="${i.homePath}#l=library" title="${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}</a>
{/if} {/if}
{var participantCount = i.counts.membersCount} {var participantCount = i.counts.membersCount}
{if participantCount > 0} {if participantCount > 0}
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a class="s3d-regular-light-links" href="${i.homePath}#l=participants" title="${participantCount} {if participantCount == 1} __MSG__PARTICIPANT__{else} __MSG__PARTICIPANTS__{/if}"> <a class="s3d-regular-light-links" href="${i.homePath}#l=participants" title="${participantCount} {if participantCount == 1} __MSG__PARTICIPANT__{else} __MSG__PARTICIPANTS__{/if}">
<span id="searchgroups_result_participant_count_${i['sakai:group-id']|safeOutput}">${participantCount}</span> <span id="searchgroups_text_participant_${i['sakai:group-id']|safeOutput}">{if participantCount == 1}__MSG__PARTICIPANT__{else}__MSG__PARTICIPANTS__{/if}</span> <span id="searchgroups_result_participant_count_${i['sakai:group-id']|safeOutput}">${participantCount}</span> <span id="searchgroups_text_participant_${i['sakai:group-id']|safeOutput}">{if participantCount == 1}__MSG__PARTICIPANT__{else}__MSG__PARTICIPANTS__{/if}</span>
</a> </a>
Expand Down
2 changes: 1 addition & 1 deletion devwidgets/searchcontent/searchcontent.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
{/if} {/if}
</div> </div>
<div class="searchcontent_result_by"> <div class="searchcontent_result_by">
__MSG__BY__ <a class="s3d-regular-light-links searchcontent_result_username" href="/~${i['sakai:pool-content-created-for']|safeOutput}" title="${i['displayName']}">${i['displayName']}</a> <span class="s3d-search-result-detail-separator">|</span> __MSG__CHANGED__ ${jQuery.timeago(new Date(i._lastModified))} __MSG__BY__ <a class="s3d-regular-light-links searchcontent_result_username" href="/~${i['sakai:pool-content-created-for']|safeOutput}" title="${i['displayName']}">${i['displayName']}</a> <span class="s3d-search-result-detail-separator"><span> | </span></span> __MSG__CHANGED__ ${jQuery.timeago(new Date(i._lastModified))}
</div> </div>
{if i["sakai:description"]}<div class="searchcontent_result_description">${i["sakai:description"]}</div>{/if} {if i["sakai:description"]}<div class="searchcontent_result_description">${i["sakai:description"]}</div>{/if}
<div class="searchcontent_result_usedin"> <div class="searchcontent_result_usedin">
Expand Down
4 changes: 2 additions & 2 deletions devwidgets/searchgroups/searchgroups.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@
__MSG__CHANGED__ ${jQuery.timeago(new Date(i.lastModified))} __MSG__CHANGED__ ${jQuery.timeago(new Date(i.lastModified))}
{var contentItemCount = i.counts.contentCount} {var contentItemCount = i.counts.contentCount}
{if contentItemCount > 0} {if contentItemCount > 0}
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a class="s3d-regular-light-links" href="${i.homePath}#l=library" title="${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}</a> <a class="s3d-regular-light-links" href="${i.homePath}#l=library" title="${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">${contentItemCount} {if contentItemCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}</a>
{/if} {/if}
{var participantCount = i.counts.membersCount} {var participantCount = i.counts.membersCount}
{if participantCount > 0} {if participantCount > 0}
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a id="searchgroups_result_participant_link_${i['sakai:group-id']}" class="s3d-regular-light-links" href="${i.homePath}#l=participants" title="${participantCount} {if participantCount == 1} __MSG__PARTICIPANT__{else} __MSG__PARTICIPANTS__{/if}"> <a id="searchgroups_result_participant_link_${i['sakai:group-id']}" class="s3d-regular-light-links" href="${i.homePath}#l=participants" title="${participantCount} {if participantCount == 1} __MSG__PARTICIPANT__{else} __MSG__PARTICIPANTS__{/if}">
<span id="searchgroups_result_participant_count_${i['sakai:group-id']}">${participantCount}</span> <span id="searchgroups_text_participant_${i['sakai:group-id']}">{if participantCount == 1}__MSG__PARTICIPANT__{else}__MSG__PARTICIPANTS__{/if}</span> <span id="searchgroups_result_participant_count_${i['sakai:group-id']}">${participantCount}</span> <span id="searchgroups_text_participant_${i['sakai:group-id']}">{if participantCount == 1}__MSG__PARTICIPANT__{else}__MSG__PARTICIPANTS__{/if}</span>
</a> </a>
Expand Down
4 changes: 2 additions & 2 deletions devwidgets/searchpeople/searchpeople.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@
<a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=library"> <a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=library">
${i.counts.contentCount || 0} {if i.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if} ${i.counts.contentCount || 0} {if i.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
</a> </a>
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=contacts" title="${i.counts.contactsCount}{if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if}"> <a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=contacts" title="${i.counts.contactsCount}{if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if}">
${i.counts.contactsCount || 0} {if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if} ${i.counts.contactsCount || 0} {if i.counts.contactsCount == 1} __MSG__CONTACT__{else} __MSG__CONTACTS__{/if}
</a> </a>
<span class="s3d-search-result-detail-separator"> | </span> <span class="s3d-search-result-detail-separator"><span> | </span></span>
<a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=memberships" title="${i.counts.membershipsCount}{if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}"> <a class="s3d-regular-light-links" href="/~${i.userid|safeURL}#l=memberships" title="${i.counts.membershipsCount}{if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}">
${i.counts.membershipsCount || 0} {if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if} ${i.counts.membershipsCount || 0} {if i.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}
</a> </a>
Expand Down

0 comments on commit ce28710

Please sign in to comment.