Post by Alanna 🥀🖤 on Dec 24, 2016 22:28:49 GMT -8
trinityblair-test.boards.net/
One of the tables are being weird in my conversation list template. This is what is is supposed to be like, this is the thread list that is working properly:
And here is what the conversation list looks like:
I'm quite puzzled as to why it isn't spanning out correctly as they are coding the same exact way. I also double checked the coding for contradicting codes but didn't catch anything. Thoughts?
One of the tables are being weird in my conversation list template. This is what is is supposed to be like, this is the thread list that is working properly:
{foreach $[thread]}
<tr id="$[thread.content_id]" class="$[thread.content_class]">
<td class="thread-container">
<table width="100%" class="thread-table">
<tr>
<td class="main clickable" title="$[thread.short_content]">
<table width="100%">
<tr>
<td>$[thread.icons] $[thread]</td>
<td class="thread-info">$[thread.labels] | Created by $[thread.created_by] | Last post by $[thread.last_post.created_by] on $[thread.last_post.created_on]</td>
<td>{if $[thread.pagination]}<div class="ui-micro-pagination">$[thread.pagination]</div>{/if}</td>
<td>$[thread.checkbox]</td>
</tr>
</table>
</td>
<td class="latest-img">$[thread.last_post.created_by.avatar_small]</td>
<td class="views">$[thread.views] View{if $[thread.views] != 1}s{/if}</td>
<td class="replies">$[thread.num_posts] Repl{if $[thread.num_posts] == 1}y{/if}{if $[thread.num_posts] != 1}ies{/if}</td>
</tr>
</table>
</td>
</tr>
{/foreach}
{if !$[thread]}
<tr class="last">
<td class="last center">No threads were found.</td>
</tr>
{/if}
And here is what the conversation list looks like:
{foreach $[conversation]}
<tr id="$[conversation.content_id]" class="$[conversation.content_class]">
<td class="convo-container">
<table width="100%" class="convo-table">
<tr>
<td class="main clickable" title="$[conversation.short_content]">
<table width="100%">
<tr>
<td class="main-main">$[conversation.icons] $[conversation]</td>
<td class="convo-info">$[conversation.labels] | Sent by $[conversation.created_by] | Last message by $[conversation.last_message.created_by] on $[conversation.last_message.created_on]</td>
<td class="pag">{if $[conversation.pagination]}<div class="ui-micro-pagination">$[conversation.pagination]</div>{/if}</td>
<td class="checkbox">$[conversation.checkbox]</td>
</tr>
</table>
</td>
<td class="latest-img">$[conversation.last_message.created_by.avatar_small]</td>
<td class="recipients">$[conversation.num_other_participants] Recipient{if $[conversation.num_other_participants] != 1}s{/if}</td>
<td class="replies">$[conversation.replies] Repl{if $[conversation.replies] == 1}y{/if}{if $[conversation.replies] != 1}ies{/if}</td>
</tr>
</table>
</tr>
{/foreach}
{if !$[conversation]}
<tr class="last">
<td class="last center">No messages were found.</td>
</tr>
{/if}
I'm quite puzzled as to why it isn't spanning out correctly as they are coding the same exact way. I also double checked the coding for contradicting codes but didn't catch anything. Thoughts?