* Monotone.php (IDF_Scm_Monotone): basic_io values need to be unescaped; implement getChangeLog()
* Monotone.php (IDF_Scm_Monotone_Stdio): add support for multiple, equally named options * Source.php, commit.html: split-off the global commit template (which had some separate code already for SVN) and adapt the left blocks for mtn to shorten branch and tag names just like we do everywhere else
This commit is contained in:
		
							
								
								
									
										26
									
								
								src/IDF/templates/idf/source/mtn/commit.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/IDF/templates/idf/source/mtn/commit.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
{extends "idf/source/commit.html"}
 | 
			
		||||
{block context}
 | 
			
		||||
<p><strong>{trans 'Branches:'}</strong><br/>
 | 
			
		||||
{foreach $branches as $selector => $branch}
 | 
			
		||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $selector)}
 | 
			
		||||
<span class="label{if in_array($branch, $tree_in)} active{/if}">
 | 
			
		||||
    <a href="{$url}" class="label" title="{$branch}">
 | 
			
		||||
        {$branch|shorten:25}
 | 
			
		||||
    </a>
 | 
			
		||||
</span><br/>
 | 
			
		||||
{/foreach}
 | 
			
		||||
</p>
 | 
			
		||||
{if $tags}
 | 
			
		||||
<p><strong>{trans 'Tags:'}</strong><br/>
 | 
			
		||||
{foreach $tags as $selector => $tag}
 | 
			
		||||
{aurl 'url', 'IDF_Views_Source::treeBase', array($project.shortname, $selector)}
 | 
			
		||||
<span class="label{if in_array($tag, $tags_in)} active{/if}">
 | 
			
		||||
    <a href="{$url}" class="label" title="{$tag}">
 | 
			
		||||
        {$tag|shorten:25}
 | 
			
		||||
    </a>
 | 
			
		||||
</span><br/>
 | 
			
		||||
{/foreach}
 | 
			
		||||
</p>
 | 
			
		||||
{/if}
 | 
			
		||||
{/block}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user