mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	Style shared note children (#2505)
This commit is contained in:
		
							parent
							
								
									f4c81ecefb
								
							
						
					
					
						commit
						168645cce9
					
				@ -52,18 +52,19 @@
 | 
			
		||||
        <% if (note.hasChildren()) { %>
 | 
			
		||||
            <nav id="childLinks" class="<% if (isEmpty) { %>grid<% } else { %>list<% } %>">
 | 
			
		||||
                <% if (!isEmpty) { %>
 | 
			
		||||
                    <hr>
 | 
			
		||||
                    <div id="noteClippedFrom">
 | 
			
		||||
                    <span>Child notes: </span>
 | 
			
		||||
                    <ul>
 | 
			
		||||
                        <% for (const childNote of note.getChildNotes()) { %>
 | 
			
		||||
                            <li>
 | 
			
		||||
                                <a href="<%= childNote.shareId %>"
 | 
			
		||||
                                   class="type-<%= childNote.type %>"><%= childNote.title %></a>
 | 
			
		||||
                            </li>
 | 
			
		||||
                        <% } %>
 | 
			
		||||
                    </ul>
 | 
			
		||||
                </div>
 | 
			
		||||
                <% } %>
 | 
			
		||||
 | 
			
		||||
                <ul>
 | 
			
		||||
                    <% for (const childNote of note.getChildNotes()) { %>
 | 
			
		||||
                        <li>
 | 
			
		||||
                            <a href="<%= childNote.shareId %>"
 | 
			
		||||
                               class="type-<%= childNote.type %>"><%= childNote.title %></a>
 | 
			
		||||
                        </li>
 | 
			
		||||
                    <% } %>
 | 
			
		||||
                </ul>
 | 
			
		||||
            </nav>
 | 
			
		||||
        <% } %>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user