AsiaH9-1/modules/member/member_index2.html.erb

42 lines
1.8 KiB
Plaintext
Raw Normal View History

2021-05-03 03:02:51 +00:00
<div class="i-member index-member-2">
<div data-list="roles" data-level="0">
<div class="i-member-section">
<div data-level="1" data-list="status-list">
<h3 class="i-member-status-title">{{status-title}}</h3>
<div class="i-member-list" data-level="2" data-list="members">
<div class="i-member-item row">
<div class="i-member-item-inner clearfix">
<div class="i-member-pic-wrap col-sm-3">
<a href="{{link_to_show}}" title="{{name}}">
<img class="i-member-pic img-thumbnail" src="{{image}}" alt="{{name}}" title="{{name}}">
</a>
</div>
<div class="i-member-profile-data-wrap col-sm-9">
<ul class="i-member-profile-list" data-list="profile_data" data-level="3">
<li class="i-member-profile-item">
2021-06-28 11:26:43 +00:00
<span class="i-member-title {{title_class}}"><strong>{{title}} : </strong></span>
2021-05-03 03:02:51 +00:00
<span class="i-member-value {{value_class}}">{{value}}</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{{pagination_goes_here}}
<script>
for(var i = 0;i < $('.i-member img').length ; i++){
if($('.i-member img').eq(i).attr('alt')=="" ){
$('.i-member img').eq(i).attr('alt','noname');
$('.i-member img').eq(i).attr('title','noname');
$('.i-member img').eq(i).parent().attr('title','noname');
}
}
2021-09-17 04:48:58 +00:00
for(var i = 0;i < $('.i-member span.member-data-value-name a').length ; i++){
if($('.i-member span.member-data-value-name a').eq(i).html().trim().replace('&nbsp;','') == "")
$('.i-member span.member-data-value-name a').eq(i).html('noname');
2021-05-03 03:02:51 +00:00
}
</script>