-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-single-topic-lead.blade.php
96 lines (53 loc) · 2.14 KB
/
content-single-topic-lead.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{{-- Single Topic Lead Content Part --}}
@php( do_action( 'bbp_template_before_lead_topic' ) )
<ul id="bbp-topic-{{ bbp_topic_id() }}-lead" class="bbp-lead-topic">
<li class="bbp-header">
<div class="bbp-topic-author">
{{ __( 'Creator', 'bbpress' ) }}
</div><!-- .bbp-topic-author -->
<div class="bbp-topic-content">
{{ __( 'Topic', 'bbpress' ) }}
</div><!-- .bbp-topic-content -->
</li><!-- .bbp-header -->
<li class="bbp-body">
<div class="bbp-topic-header">
<div class="bbp-meta">
<span class="bbp-topic-post-date">
{{ bbp_topic_post_date() }}
</span>
<a href="{{ bbp_topic_permalink() }}" class="bbp-topic-permalink">#{{ bbp_topic_id() }}</a>
@php( do_action( 'bbp_theme_before_topic_admin_links' ) )
@php( bbp_topic_admin_links() )
@php( do_action( 'bbp_theme_after_topic_admin_links' ) )
</div><!-- .bbp-meta -->
</div><!-- .bbp-topic-header -->
<div id="post-{{ bbp_topic_id() }}" {{ bbp_topic_class() }}>
<div class="bbp-topic-author">
@php( do_action( 'bbp_theme_before_topic_author_details' ) )
@php( bbp_topic_author_link( [ 'show_role' => true ] ) )
@if( current_user_can( 'moderate', bbp_get_reply_id() ) )
@php( do_action( 'bbp_theme_before_topic_author_admin_details' ) )
<div class="bbp-topic-ip">
{{ bbp_author_ip( bbp_get_topic_id() ) }}
</div>
@php( do_action( 'bbp_theme_after_topic_author_admin_details' ) )
@endif
@php( do_action( 'bbp_theme_after_topic_author_details' ) )
</div><!-- .bbp-topic-author -->
<div class="bbp-topic-content">
@php( do_action( 'bbp_theme_before_topic_content' ) )
{{ bbp_topic_content() }}
@php( do_action( 'bbp_theme_after_topic_content' ) )
</div><!-- .bbp-topic-content -->
</div><!-- #post-{{ bbp_topic_id() }} -->
</li><!-- .bbp-body -->
<li class="bbp-footer">
<div class="bbp-topic-author">
{{ __( 'Creator', 'bbpress' ) }}
</div>
<div class="bbp-topic-content">
{{ __( 'Topic', 'bbpress' ) }}
</div><!-- .bbp-topic-content -->
</li>
</ul><!-- #bbp-topic-{{ bbp_topic_id() }}-lead -->
@php( do_action( 'bbp_template_after_lead_topic' ) )