can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r22133: LJSUP-11909: Fast Repost feature

Committer: dpetrov
LJSUP-11909: Fast Repost feature
U   trunk/templates/Widgets/entry_chooser.tmpl
Modified: trunk/templates/Widgets/entry_chooser.tmpl
===================================================================
--- trunk/templates/Widgets/entry_chooser.tmpl	2012-05-31 11:43:27 UTC (rev 22132)
+++ trunk/templates/Widgets/entry_chooser.tmpl	2012-05-31 11:47:47 UTC (rev 22133)
@@ -21,13 +21,13 @@
 <TMPL_IF entries>
 	<ul class='b-editentries'>
 		<TMPL_LOOP entries>
-			<li id="entry_<TMPL_VAR entry_id>" class='b-editentry'>
+			<li id="entry_<TMPL_VAR entry_id>" class='b-editentry'<TMPL_IF entry_reposted> data-url="<TMPL_VAR entry_url>"</TMPL_IF>>
 				<p class='b-editentry-ctrls'>
 					<TMPL_IF entry_can_edit>
 						<a href='<TMPL_VAR edit_link ESCAPE=HTML>' class='b-editentry-edit-btn b-editentry-ctrl-btn'></a>
 					<TMPL_ELSE>
                         <TMPL_IF entry_reposted>
-    						<a href='<TMPL_VAR delete_link ESCAPE=HTML>' class='b-editentry-del-btn b-editentry-ctrl-btn'></a>
+    						<a href='<TMPL_VAR delete_link ESCAPE=HTML>' class='b-editentry-del-btn b-editentry-del-repost-btn b-editentry-ctrl-btn'></a>
                         <TMPL_ELSE>
                             <a href='<TMPL_VAR delete_link ESCAPE=HTML>' class='b-editentry-edit-btn b-editentry-ctrl-btn'></a>
                         </TMPL_IF>
@@ -101,3 +101,7 @@
 	</p>
 </TMPL_IF>
 
+<script>
+    jQuery('div.appwidget-entrychooser').editentriesmanager();
+</script>
+

Tags: can3p, dpetrov, livejournal, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments