mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	added support for #pageUrl into shared notes
This commit is contained in:
		| @@ -117,6 +117,15 @@ iframe.pdf-view { | |||||||
|     margin-right: 20px; |     margin-right: 20px; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | #noteClippedFrom { | ||||||
|  |     padding: 10px 0 10px 0; | ||||||
|  |     margin: 20px 0 20px 0; | ||||||
|  |     color: #666; | ||||||
|  |     border: 1px solid #ddd; | ||||||
|  |     border-left: 0; | ||||||
|  |     border-right: 0; | ||||||
|  | } | ||||||
|  |  | ||||||
| #toggleMenuButton::after { | #toggleMenuButton::after { | ||||||
|     position: relative; |     position: relative; | ||||||
|     top: -2px; |     top: -2px; | ||||||
|   | |||||||
| @@ -36,6 +36,10 @@ | |||||||
|  |  | ||||||
|         <h1 id="title"><%= note.title %></h1> |         <h1 id="title"><%= note.title %></h1> | ||||||
|  |  | ||||||
|  |         <% if (note.hasLabel("pageUrl")) { %> | ||||||
|  |             <div id="noteClippedFrom">This note was originally clipped from <a href="<%= note.getLabelValue("pageUrl") %>"><%= note.getLabelValue("pageUrl") %></a></div> | ||||||
|  |         <% } %> | ||||||
|  |  | ||||||
|         <% if (note.type === 'book') { %> |         <% if (note.type === 'book') { %> | ||||||
|         <% } else if (isEmpty) { %> |         <% } else if (isEmpty) { %> | ||||||
|             <p>This note has no content.</p> |             <p>This note has no content.</p> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user