forked from mirrors/Awesome-CV
Format \@teluri in one place
This commit is contained in:
parent
9d66734e3b
commit
03df20ccab
1 changed files with 5 additions and 5 deletions
|
@ -290,6 +290,11 @@
|
||||||
{
|
{
|
||||||
\def\@mobile{#1}
|
\def\@mobile{#1}
|
||||||
\def\@teluri{tel:\@mobile}
|
\def\@teluri{tel:\@mobile}
|
||||||
|
% Strip unwanted characters
|
||||||
|
\StrDel{\@teluri}{ }[\@teluri]%
|
||||||
|
\StrDel{\@teluri}{-}[\@teluri]%
|
||||||
|
\StrDel{\@teluri}{(}[\@teluri]%
|
||||||
|
\StrDel{\@teluri}{)}[\@teluri]%
|
||||||
}
|
}
|
||||||
|
|
||||||
% Defines writer's email (optional)
|
% Defines writer's email (optional)
|
||||||
|
@ -423,11 +428,6 @@
|
||||||
\ifthenelse{\isundefined{\@mobile}}%
|
\ifthenelse{\isundefined{\@mobile}}%
|
||||||
{}%
|
{}%
|
||||||
{%
|
{%
|
||||||
% Formats phone number for "tel:" URI
|
|
||||||
\StrDel{\@teluri}{ }[\@teluri]%
|
|
||||||
\StrDel{\@teluri}{-}[\@teluri]%
|
|
||||||
\StrDel{\@teluri}{(}[\@teluri]%
|
|
||||||
\StrDel{\@teluri}{)}[\@teluri]%
|
|
||||||
\href{\@teluri}{\faMobile\acvHeaderIconSep\@mobile}%
|
\href{\@teluri}{\faMobile\acvHeaderIconSep\@mobile}%
|
||||||
\setbool{isstart}{false}%
|
\setbool{isstart}{false}%
|
||||||
}%
|
}%
|
||||||
|
|
Loading…
Reference in a new issue