mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	RP --> RN
This commit is contained in:
		
							parent
							
								
									5d3fe9599b
								
							
						
					
					
						commit
						e0d6f7c7c4
					
				
					 5 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -35,7 +35,7 @@
 | 
			
		|||
						<span v-if="appearNote.isHidden" style="opacity: 0.5">%i18n:@private%</span>
 | 
			
		||||
						<a class="reply" v-if="appearNote.reply">%fa:reply%</a>
 | 
			
		||||
						<misskey-flavored-markdown v-if="appearNote.text" :text="appearNote.text" :i="$store.state.i" :class="$style.text"/>
 | 
			
		||||
						<a class="rp" v-if="appearNote.renote">RP:</a>
 | 
			
		||||
						<a class="rp" v-if="appearNote.renote">RN:</a>
 | 
			
		||||
					</div>
 | 
			
		||||
					<div class="files" v-if="appearNote.files.length > 0">
 | 
			
		||||
						<mk-media-list :media-list="appearNote.files"/>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
		<span v-if="note.deletedAt" style="opacity: 0.5">%i18n:@deleted%</span>
 | 
			
		||||
		<a class="reply" v-if="note.replyId">%fa:reply%</a>
 | 
			
		||||
		<misskey-flavored-markdown v-if="note.text" :text="note.text" :i="$store.state.i"/>
 | 
			
		||||
		<a class="rp" v-if="note.renoteId" :href="`/notes/${note.renoteId}`">RP: ...</a>
 | 
			
		||||
		<a class="rp" v-if="note.renoteId" :href="`/notes/${note.renoteId}`">RN: ...</a>
 | 
			
		||||
	</div>
 | 
			
		||||
	<details v-if="note.files.length > 0">
 | 
			
		||||
		<summary>({{ '%i18n:@media-count%'.replace('{}', note.files.length) }})</summary>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,7 +31,7 @@
 | 
			
		|||
						<span v-if="appearNote.isHidden" style="opacity: 0.5">(%i18n:@private%)</span>
 | 
			
		||||
						<a class="reply" v-if="appearNote.reply">%fa:reply%</a>
 | 
			
		||||
						<misskey-flavored-markdown v-if="appearNote.text" :text="appearNote.text" :i="$store.state.i" :class="$style.text"/>
 | 
			
		||||
						<a class="rp" v-if="appearNote.renote != null">RP:</a>
 | 
			
		||||
						<a class="rp" v-if="appearNote.renote != null">RN:</a>
 | 
			
		||||
					</div>
 | 
			
		||||
					<div class="files" v-if="appearNote.files.length > 0">
 | 
			
		||||
						<mk-media-list :media-list="appearNote.files"/>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
		<span v-if="note.deletedAt" style="opacity: 0.5">(%i18n:@deleted%)</span>
 | 
			
		||||
		<a class="reply" v-if="note.replyId">%fa:reply%</a>
 | 
			
		||||
		<misskey-flavored-markdown v-if="note.text" :text="note.text" :i="$store.state.i"/>
 | 
			
		||||
		<a class="rp" v-if="note.renoteId">RP: ...</a>
 | 
			
		||||
		<a class="rp" v-if="note.renoteId">RN: ...</a>
 | 
			
		||||
	</div>
 | 
			
		||||
	<details v-if="note.files.length > 0">
 | 
			
		||||
		<summary>({{ '%i18n:@media-count%'.replace('{}', note.files.length) }})</summary>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,9 +38,9 @@ const summarize = (note: any): string => {
 | 
			
		|||
	// Renoteのとき
 | 
			
		||||
	if (note.renoteId) {
 | 
			
		||||
		if (note.renote) {
 | 
			
		||||
			summary += ` RP: ${summarize(note.renote)}`;
 | 
			
		||||
			summary += ` RN: ${summarize(note.renote)}`;
 | 
			
		||||
		} else {
 | 
			
		||||
			summary += ' RP: ...';
 | 
			
		||||
			summary += ' RN: ...';
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue