Template:Repo link: Difference between revisions

Jump to navigation Jump to search
Gitorious logic improvements for the 'h' vs. 'hb' query string construction when the 'view' parameter is not supplied.
(Added 'go' as an accepted abbreviation of Gitorious.)
(Gitorious logic improvements for the 'h' vs. 'hb' query string construction when the 'view' parameter is not supplied.)
Line 262: Line 262:
       -->{{#if: {{{path|}}} | &#59;f={{{path|}}}}}<!--              The file or directory path.
       -->{{#if: {{{path|}}} | &#59;f={{{path|}}}}}<!--              The file or directory path.
       -->{{#if: {{{commit|{{{branch|}}}}}} <!--                    The commit or branch query string. -->
       -->{{#if: {{{commit|{{{branch|}}}}}} <!--                    The commit or branch query string. -->
           | {{#switch: {{{view|}}}
           | {{#if: {{{view|}}}
              | blob | raw | tree = &#59;hb=
              | {{#switch: {{{view|}}}
               | #default = &#59;h=
                  | blob | raw | tree = &#59;hb=
                  | #default = &#59;h=
                }}
               | {{#if: {{{path|}}}
                  | &#59;hb=
                  | &#59;h=
                }}
             }}
             }}
         }}<!--
         }}<!--

Navigation menu